summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJohn R. Lenton <jlenton@gmail.com>2014-01-10 01:00:20 +0000
committerJohn R. Lenton <jlenton@gmail.com>2014-01-10 01:00:20 +0000
commit9ec3a871892efe70f17957f87b7967e99209ce9a (patch)
tree8ed02bca01c6ec9469636df1ca920a96f2549620 /tests
parent2d45429122e61c7292349986e6bc77f4b74d80a0 (diff)
dict views now, refactoring later.
Diffstat (limited to 'tests')
-rw-r--r--tests/basics/tests/dict_views.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/basics/tests/dict_views.py b/tests/basics/tests/dict_views.py
new file mode 100644
index 000000000..fbf63fa0a
--- /dev/null
+++ b/tests/basics/tests/dict_views.py
@@ -0,0 +1,6 @@
+d = {1: 2}
+for m in d.items, d.values, d.keys:
+ print(m())
+ print(list(m()))
+
+# set operations still to come