Commit ce63a95a authored by Paul Sokolovsky's avatar Paul Sokolovsky
Browse files

tests/dict_fromkeys: Split out skippable part.

parent ce0b5e07
......@@ -7,8 +7,3 @@ d = dict.fromkeys([1, 2, 3, 4], 42)
l = list(d.values())
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)))
print(d)
try:
reversed
except:
import sys
print("SKIP")
sys.exit()
# argument to fromkeys has no __len__
d = dict.fromkeys(reversed(range(1)))
#d = dict.fromkeys((x for x in range(1)))
print(d)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment