micropython/tests/extmod/re_split_notimpl.py

12 lines
199 B
Python

try:
import re
except ImportError:
print("SKIP")
raise SystemExit
r = re.compile("( )")
try:
s = r.split("a b c foobar")
except NotImplementedError:
print("NotImplementedError")