Skip to content

Commit 9e00a12

Browse files
committed
lint
1 parent 89381eb commit 9e00a12

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

python/pyspark/sql/tests/test_dataframe.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -211,9 +211,9 @@ def test_drop_II(self):
211211
)
212212
df3 = df1.join(df2, df1["colC"] == df2["colC"]).withColumn(
213213
"colB",
214-
when(
215-
df1["colB"] == "b", concat(df1["colB"].cast("string"), lit("x"))
216-
).otherwise(df1["colB"]),
214+
when(df1["colB"] == "b", concat(df1["colB"].cast("string"), lit("x"))).otherwise(
215+
df1["colB"]
216+
),
217217
)
218218
df4 = df3.drop(df1["colB"])
219219

0 commit comments

Comments
 (0)