Skip to content
Snippets Groups Projects
Commit 96e1fd48 authored by Damien George's avatar Damien George
Browse files

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

parent 4f9842ad
No related branches found
No related tags found
No related merge requests found
......@@ -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))
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment