summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--tests/basics/set_pop.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/basics/set_pop.py b/tests/basics/set_pop.py
index 5e1196c9f0..e951ca5931 100644
--- a/tests/basics/set_pop.py
+++ b/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))