diff options
Diffstat (limited to 'tests/extmod/ure_split_notimpl.py')
-rw-r--r-- | tests/extmod/ure_split_notimpl.py | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/extmod/ure_split_notimpl.py b/tests/extmod/ure_split_notimpl.py new file mode 100644 index 0000000000..eca3ea512e --- /dev/null +++ b/tests/extmod/ure_split_notimpl.py @@ -0,0 +1,12 @@ +try: + import ure as re +except ImportError: + import sys + print("SKIP") + sys.exit() + +r = re.compile('( )') +try: + s = r.split("a b c foobar") +except NotImplementedError: + print('NotImplementedError') |