circuitpython/tests/extmod/ure_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-15 01:56:22 +03:00
try:
2023-08-22 11:15:46 -04:00
import re
2017-02-15 01:56:22 +03:00
except ImportError:
print("SKIP")
raise SystemExit
2021-03-15 19:27:36 +05:30
r = re.compile("( )")
try:
s = r.split("a b c foobar")
except NotImplementedError:
2021-03-15 19:27:36 +05:30
print("NotImplementedError")