summaryrefslogtreecommitdiffstatshomepage
path: root/tests/extmod/ure_debug.py
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2017-01-26 23:45:51 +1100
committerDamien George <damien.p.george@gmail.com>2017-01-26 23:45:51 +1100
commit221f88d1f3f67640e72912ad8473782360b0e306 (patch)
tree774e33732167eae0787344bce77c71c2b89297a2 /tests/extmod/ure_debug.py
parente9cb1f807762f8adc1f5b6220b616ce6daf1303f (diff)
downloadmicropython-221f88d1f3f67640e72912ad8473782360b0e306.tar.gz
micropython-221f88d1f3f67640e72912ad8473782360b0e306.zip
tests/extmod: Add test for ure debug printing when compiling a regex.
Diffstat (limited to 'tests/extmod/ure_debug.py')
-rw-r--r--tests/extmod/ure_debug.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/extmod/ure_debug.py b/tests/extmod/ure_debug.py
new file mode 100644
index 0000000000..303e1789c0
--- /dev/null
+++ b/tests/extmod/ure_debug.py
@@ -0,0 +1,3 @@
+# test printing debugging info when compiling
+import ure
+ure.compile('^a|b[0-9]\w$', ure.DEBUG)