summaryrefslogtreecommitdiffstatshomepage
path: root/tests/extmod/ure_stack_overflow.py
blob: d3ce0c5a7b17601ccf52b02db98e757526599f83 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
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")