Skip to content

Commit 5758c77

Browse files
Ngone51HyukjinKwon
andauthored
Update python/pyspark/sql/tests/test_pandas_map.py
address suggestion Co-authored-by: Hyukjin Kwon <gurwls223@gmail.com>
1 parent 11a6e24 commit 5758c77

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python/pyspark/sql/tests/test_pandas_map.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ def test_self_join(self):
118118
df2 = df1.mapInPandas(lambda iter: iter, 'id long')
119119
actual = df2.join(df2).collect()
120120
expected = df1.join(df1).collect()
121-
self.assertEqual(actual, expected)
121+
self.assertEqual(sorted(actual), sorted(expected))
122122

123123

124124
if __name__ == "__main__":

0 commit comments

Comments
 (0)