Skip to content

Commit

Permalink
tests/basics/set_pop.py: Sort set before printing for consistent output.
Browse files Browse the repository at this point in the history
  • Loading branch information
dpgeorge committed Aug 17, 2018
1 parent 4f9842a commit 96e1fd4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/basics/set_pop.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@
print(s.pop()) # last pop() should trigger the optimisation
for i in range(N):
s.add(i) # check that we can add the numbers back to the set
print(list(s))
print(sorted(s))

0 comments on commit 96e1fd4

Please sign in to comment.