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
crypto-aes
Scott Shawcroft 5 years ago
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…
Cancel
Save