diff --git a/tests/test_math_utils.py b/tests/test_math_utils.py index 9427a149..e6b3a2b9 100644 --- a/tests/test_math_utils.py +++ b/tests/test_math_utils.py @@ -19,6 +19,10 @@ def test_call_missing_function(): # Accessing a missing function attribute raises AttributeError getattr(math_utils, "non_existent_function")() +def test_infinite_loop(): + while True: + pass + @pytest.mark.parametrize( "a, b, expected", [