diff options
Diffstat (limited to 'tests/extmod/ure_split_notimpl.py')
-rw-r--r-- | tests/extmod/ure_split_notimpl.py | 7 |
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') |