aboutsummaryrefslogtreecommitdiff
path: root/tests/basics
diff options
context:
space:
mode:
authorJohn R. Lenton2014-01-13 05:12:50 +0000
committerJohn R. Lenton2014-01-13 05:12:50 +0000
commit5c7683955994b965270598559e979c581ddc1950 (patch)
treeeb8744b2d6dc8f12a8a069df3199c7cca31dae08 /tests/basics
parent07205ec323ca98d1c23af51e099119954d0fe7a4 (diff)
sorted
Diffstat (limited to 'tests/basics')
-rw-r--r--tests/basics/tests/sorted.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/basics/tests/sorted.py b/tests/basics/tests/sorted.py
new file mode 100644
index 000000000..bbec31946
--- /dev/null
+++ b/tests/basics/tests/sorted.py
@@ -0,0 +1,2 @@
+print(sorted(set(range(100))))
+print(sorted(set(range(100)), key=lambda x: x + 100*(x % 2)))