Skip to content

Commit 07e24a6

Browse files
committed
tests: Fix tests with sets to print sorted set.
1 parent ff71542 commit 07e24a6

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

tests/basics/iter-of-iter.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@
55
i = iter(iter({1:2, 3:4, 5:6}))
66
print(sorted(i))
77
i = iter(iter({1, 2, 3}))
8-
print(list(i))
8+
print(sorted(i))

tests/basics/set1.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@
44
print(s)
55

66
s = {3, 4, 3, 1}
7-
print(s)
7+
print(sorted(s))

0 commit comments

Comments
 (0)