summaryrefslogtreecommitdiffstatshomepage
path: root/tests/extmod/ure_debug.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/extmod/ure_debug.py')
-rw-r--r--tests/extmod/ure_debug.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/extmod/ure_debug.py b/tests/extmod/ure_debug.py
new file mode 100644
index 0000000000..252df21e30
--- /dev/null
+++ b/tests/extmod/ure_debug.py
@@ -0,0 +1,9 @@
+# test printing debugging info when compiling
+try:
+ import ure
+except ImportError:
+ import sys
+ print("SKIP")
+ sys.exit()
+
+ure.compile('^a|b[0-9]\w$', ure.DEBUG)