micropython/tests/extmod/ure_split_notimpl.py
2017-02-15 01:56:22 +03:00

13 lines
215 B
Python

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')