Files
Andrey Lisin 4a928d409f IDEA-CR-65035: Add tests for drop to debugger on test failures feature
(cherry picked from commit 202d5a6aadd282fb5144d16039e5661c22d567ec)

GitOrigin-RevId: c290897d0eff63f4e4192d7368c272e9a4e73ba8
2020-07-16 07:33:25 +00:00

11 lines
192 B
Python

import pytest
def test_recursion_depth():
with pytest.raises(RuntimeError) as excinfo:
def f():
f()
f()
assert "maximum recursion" in str(excinfo.value)