mirror of
https://github.com/micropython/micropython.git
synced 2026-01-05 03:30:14 +01:00
tests/basics/zip: Make skippable.
This commit is contained in:
@@ -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]))))
|
||||
|
||||
Reference in New Issue
Block a user