micropython/tests/extmod/ure_debug.py

11 lines
198 B
Python
Raw Normal View History

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