micropython/tests/extmod/re_split_notimpl.py
Jim Mussared 4216bc7d13 tests: Replace umodule with module everywhere.
This work was funded through GitHub Sponsors.

Signed-off-by: Jim Mussared <jim.mussared@gmail.com>
2023-06-08 17:54:24 +10:00

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