circuitpython/tests/extmod/re_debug.py

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

11 lines
194 B
Python
Raw Normal View History

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