diff options
| author | Damien George <damien.p.george@gmail.com> | 2014-04-07 00:42:09 +0100 |
|---|---|---|
| committer | Damien George <damien.p.george@gmail.com> | 2014-04-07 00:42:09 +0100 |
| commit | 07e24a629477246fb8f363071880e4a2c9cabeb7 (patch) | |
| tree | bd1a9e97f8101c0bafea8947da76d2b632313a9b | |
| parent | ff715429eae825108d26db942284373762f85674 (diff) | |
tests: Fix tests with sets to print sorted set.
| -rw-r--r-- | tests/basics/iter-of-iter.py | 2 | ||||
| -rw-r--r-- | tests/basics/set1.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/basics/iter-of-iter.py b/tests/basics/iter-of-iter.py index ba5535629..70282aa97 100644 --- a/tests/basics/iter-of-iter.py +++ b/tests/basics/iter-of-iter.py @@ -5,4 +5,4 @@ print(list(i)) i = iter(iter({1:2, 3:4, 5:6})) print(sorted(i)) i = iter(iter({1, 2, 3})) -print(list(i)) +print(sorted(i)) diff --git a/tests/basics/set1.py b/tests/basics/set1.py index c54fbd837..399c33eb6 100644 --- a/tests/basics/set1.py +++ b/tests/basics/set1.py @@ -4,4 +4,4 @@ s = {1} print(s) s = {3, 4, 3, 1} -print(s) +print(sorted(s)) |
