Skip to content

Commit 2b1124d

Browse files
committed
fixed tests
1 parent e8a08e2 commit 2b1124d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python/pyspark/rdd.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -764,7 +764,7 @@ def top(self, num):
764764
>>> sc.parallelize([10, 4, 2, 12, 3]).top(1)
765765
[12]
766766
>>> sc.parallelize([2, 3, 4, 5, 6], 2).cache().top(2)
767-
[5, 6]
767+
[6, 5]
768768
"""
769769
def topIterator(iterator):
770770
q = []

0 commit comments

Comments
 (0)