Skip to content
Snippets Groups Projects
Commit ce63a95a authored by Paul Sokolovsky's avatar Paul Sokolovsky
Browse files

tests/dict_fromkeys: Split out skippable part.

parent ce0b5e07
No related branches found
No related tags found
No related merge requests found
......@@ -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)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment