tests: Add test for catching infinite function recursion.
Put into misc/ to not complicate life for builds with check disabled.
This commit is contained in:
parent
7a8ab5a730
commit
16ac4962ae
|
@ -0,0 +1,7 @@
|
|||
def foo():
|
||||
foo()
|
||||
|
||||
try:
|
||||
foo()
|
||||
except RuntimeError:
|
||||
print("RuntimeError")
|
Loading…
Reference in New Issue