summaryrefslogtreecommitdiffstatshomepage
path: root/tests/basics/set_copy.py
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2014-04-07 13:15:33 +0100
committerDamien George <damien.p.george@gmail.com>2014-04-07 13:15:33 +0100
commit1422865c992d731e363739661f83b480fca1e4cc (patch)
tree95423acde8f54dcafe9f0f8c52a23aa08e4cb753 /tests/basics/set_copy.py
parenta28507ab2bbf872ec2e0193997d81e20f7ae404c (diff)
parent1ff6011abc47cb3a42ed89c9c682ac8a0af6b092 (diff)
downloadmicropython-1422865c992d731e363739661f83b480fca1e4cc.tar.gz
micropython-1422865c992d731e363739661f83b480fca1e4cc.zip
Merge pull request #445 from lurch/test-sorted-sets
Modify set tests to print sorted sets directly
Diffstat (limited to 'tests/basics/set_copy.py')
-rw-r--r--tests/basics/set_copy.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/tests/basics/set_copy.py b/tests/basics/set_copy.py
index 2ea308b0db..646fae0f26 100644
--- a/tests/basics/set_copy.py
+++ b/tests/basics/set_copy.py
@@ -3,6 +3,4 @@ t = s.copy()
s.add(5)
t.add(7)
for i in s, t:
- l = list(i)
- l.sort()
- print(l)
+ print(sorted(i))