mirror of
https://github.com/licsber/micropython.git
synced 2024-09-22 01:50:24 +08:00
8e0b9f495b
These now should be caught properly and lead to RuntimeError instead of crash.
14 lines
226 B
Python
14 lines
226 B
Python
try:
|
|
import ure as re
|
|
except ImportError:
|
|
try:
|
|
import re
|
|
except ImportError:
|
|
print("SKIP")
|
|
raise SystemExit
|
|
|
|
try:
|
|
re.match("(a*)*", "aaa")
|
|
except RuntimeError:
|
|
print("RuntimeError")
|