summaryrefslogtreecommitdiff
path: root/tests/extmod/ure_split_notimpl.py
diff options
context:
space:
mode:
authorRami Ali <flowergrass@users.noreply.github.com>2017-01-17 17:26:59 +1100
committerDamien George <damien.p.george@gmail.com>2017-01-17 17:42:37 +1100
commit5e80c53c115e8b45df598ffdbc45dfdd543be8ac (patch)
tree2e78f29dfd636340d645afcb4d17d6168767d356 /tests/extmod/ure_split_notimpl.py
parentd7150b09d752b48bfa5df66fd1438bbcca18eb09 (diff)
tests/extmod: Improve test coverage of ure module.
Diffstat (limited to 'tests/extmod/ure_split_notimpl.py')
-rw-r--r--tests/extmod/ure_split_notimpl.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/extmod/ure_split_notimpl.py b/tests/extmod/ure_split_notimpl.py
new file mode 100644
index 000000000..724e9d43b
--- /dev/null
+++ b/tests/extmod/ure_split_notimpl.py
@@ -0,0 +1,7 @@
+import ure as re
+
+r = re.compile('( )')
+try:
+ s = r.split("a b c foobar")
+except NotImplementedError:
+ print('NotImplementedError')