diff options
| author | Damien George | 2018-08-17 15:42:51 +1000 |
|---|---|---|
| committer | Damien George | 2018-08-17 15:42:51 +1000 |
| commit | 96e1fd480d6bc31b8c2954b20477cac262d1f1e5 (patch) | |
| tree | 4bbf7c226220b0362a16b06038913a94af772a79 | |
| parent | 4f9842ad80c235188955fd83317f715033a596c0 (diff) | |
tests/basics/set_pop.py: Sort set before printing for consistent output.
| -rw-r--r-- | tests/basics/set_pop.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/basics/set_pop.py b/tests/basics/set_pop.py index 5e1196c9f..e951ca593 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)) |
