micropython/tests/stress/recursion.py
Damien George 5ad27d4b8b tests: Move recursive tests to the tests/stress/ subdir.
Keeping all the stress related tests in one place makes it easier to
stress-test a given port, and to also not run such tests on ports that
can't handle them.
2018-04-10 14:43:52 +10:00

8 lines
84 B
Python

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