micropython/tests/extmod/ure_split_notimpl.py

12 wiersze
206 B
Python
Czysty Zwykły widok Historia

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