micropython/tests/stress/recursion.py

9 lines
85 B
Python

def foo():
foo()
try:
foo()
except RuntimeError:
print("RuntimeError")