tests/basics/set_pop.py: Sort set before printing for consistent output.

crypto-aes
Damien George 4 years ago committed by Jeff Epler
parent f47b964c5f
commit 8b5fd95897
  1. 2
      tests/basics/set_pop.py

@ -15,4 +15,4 @@ while s:
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))

Loading…
Cancel
Save