tests/basics/zip: Make skippable.
This commit is contained in:
parent
aee723ed4c
commit
33b8e65bc0
@ -1,2 +1,10 @@
|
||||
try:
|
||||
zip
|
||||
set
|
||||
except NameError:
|
||||
print("SKIP")
|
||||
import sys
|
||||
sys.exit()
|
||||
|
||||
print(list(zip()))
|
||||
print(list(zip([1], {2,3})))
|
||||
print(list(zip([1], set([2, 3]))))
|
||||
|
Loading…
Reference in New Issue
Block a user