Skip to content

Commit 8b5fd95

Browse files
dpgeorgejepler
authored andcommitted
tests/basics/set_pop.py: Sort set before printing for consistent output.
1 parent f47b964 commit 8b5fd95

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/basics/set_pop.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,4 @@
1515
print(s.pop()) # last pop() should trigger the optimisation
1616
for i in range(N):
1717
s.add(i) # check that we can add the numbers back to the set
18-
print(list(s))
18+
print(sorted(s))

0 commit comments

Comments
 (0)