circuitpython/tests/extmod/ure_debug.py

11 lines
198 B
Python
Raw Normal View History

# test printing debugging info when compiling
2017-02-14 17:56:22 -05:00
try:
import ure
ure.DEBUG
except (ImportError, AttributeError):
2017-02-14 17:56:22 -05:00
print("SKIP")
raise SystemExit
2017-02-14 17:56:22 -05:00
ure.compile("^a|b[0-9]\w$", ure.DEBUG)