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 /tests | |
parent | ff715429eae825108d26db942284373762f85674 (diff) | |
download | micropython-07e24a629477246fb8f363071880e4a2c9cabeb7.tar.gz micropython-07e24a629477246fb8f363071880e4a2c9cabeb7.zip |
tests: Fix tests with sets to print sorted set.
Diffstat (limited to 'tests')
-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 ba55356294..70282aa97e 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 c54fbd8379..399c33eb68 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)) |