circuitpython/tests/extmod/re_split_notimpl.py

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

12 lines
199 B
Python
Raw Normal View History

2017-02-14 17:56:22 -05:00
try:
import re
2017-02-14 17:56:22 -05:00
except ImportError:
print("SKIP")
raise SystemExit
r = re.compile("( )")
try:
s = r.split("a b c foobar")
except NotImplementedError:
print("NotImplementedError")