tests/dict_fromkeys: Revert to use reversed() to run in native codegen mode.

This commit is contained in:
Paul Sokolovsky 2017-02-15 01:30:16 +03:00
parent 83623b2fde
commit 7bb146350e

View File

@ -9,6 +9,6 @@ l.sort()
print(l) print(l)
# argument to fromkeys has no __len__ # argument to fromkeys has no __len__
#d = dict.fromkeys(reversed(range(1))) d = dict.fromkeys(reversed(range(1)))
d = dict.fromkeys((x for x in range(1))) #d = dict.fromkeys((x for x in range(1)))
print(d) print(d)