Always test enumerate. This will ensure that all supported ports
include it and therefore support our drivers that use it. Related to https://github.com/adafruit/Adafruit_CircuitPython_NeoPixel/pull/18
This commit is contained in:
parent
b31c2ea748
commit
8a50fe8982
@ -1,9 +1,3 @@
|
||||
try:
|
||||
enumerate
|
||||
except:
|
||||
print("SKIP")
|
||||
raise SystemExit
|
||||
|
||||
print(list(enumerate([])))
|
||||
print(list(enumerate([1, 2, 3])))
|
||||
print(list(enumerate([1, 2, 3], 5)))
|
||||
|
Loading…
x
Reference in New Issue
Block a user