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:
Scott Shawcroft 2017-12-11 17:05:39 -08:00
parent b31c2ea748
commit 8a50fe8982

View File

@ -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)))