circuitpython/tests/extmod/re_stack_overflow.py

11 lines
160 B
Python

try:
import re
except ImportError:
print("SKIP")
raise SystemExit
try:
re.match("(a*)*", "aaa")
except RuntimeError:
print("RuntimeError")