Skip to content

Commit c49157e

Browse files
committed
SPARK-24213: Fix pyspark style.
1 parent c2e1bc7 commit c49157e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python/pyspark/sql/tests.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6401,7 +6401,7 @@ def test_pyspark_udf_SPARK_25213(self):
64016401
df = self.spark.read.format("org.apache.spark.sql.sources.v2.SimpleDataSourceV2").load()
64026402
result = datasource_v2_df.withColumn('x', udf(lambda x: x, 'int')(datasource_v2_df['i']))
64036403
rows = list(map(lambda r: r.asDict(), result.collect()))
6404-
expected = [ {'i': i, 'j': -i, 'x': i} for i in range(10) ]
6404+
expected = [{'i': i, 'j': -i, 'x': i} for i in range(10)]
64056405
self.assertEqual(rows, expected)
64066406

64076407

0 commit comments

Comments
 (0)