aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorPaul Sokolovsky2017-02-15 01:30:16 +0300
committerPaul Sokolovsky2017-02-15 01:30:16 +0300
commit7bb146350e5de1f406dc69679ecdf4cdded5be75 (patch)
treea470ac8366f8a8bc98d9334d75ca5597733eaae4 /tests
parent83623b2fdeee0ada918ee4f91a99f3d732c3dee7 (diff)
tests/dict_fromkeys: Revert to use reversed() to run in native codegen mode.
Diffstat (limited to 'tests')
-rw-r--r--tests/basics/dict_fromkeys.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/basics/dict_fromkeys.py b/tests/basics/dict_fromkeys.py
index 796f657d7..118d0ffd9 100644
--- a/tests/basics/dict_fromkeys.py
+++ b/tests/basics/dict_fromkeys.py
@@ -9,6 +9,6 @@ l.sort()
print(l)
# argument to fromkeys has no __len__
-#d = dict.fromkeys(reversed(range(1)))
-d = dict.fromkeys((x for x in range(1)))
+d = dict.fromkeys(reversed(range(1)))
+#d = dict.fromkeys((x for x in range(1)))
print(d)