diff --git a/tests/test_math_utils.py b/tests/test_math_utils.py index 460703f70..3c51c1db5 100644 --- a/tests/test_math_utils.py +++ b/tests/test_math_utils.py @@ -109,17 +109,6 @@ def test_generator_exit_direct(): # Directly raise GeneratorExit exception raise GeneratorExit() -def test_recursion_limit(): - # Lower recursion limit to force RecursionError on deep recursion - original_limit = sys.getrecursionlimit() - sys.setrecursionlimit(50) - def recurse(): - return recurse() - try: - recurse() - finally: - sys.setrecursionlimit(original_limit) - def test_malformed_code(): # SyntaxError when executing malformed Python code exec("def bad(:\n pass")