From b58bdf091636cb7d07d9fe06ace619f0b68a34fa Mon Sep 17 00:00:00 2001 From: tligui_y Date: Tue, 15 Jul 2025 15:56:01 +0200 Subject: [PATCH] Update tests/test_math_utils.py --- tests/test_math_utils.py | 4 ++++ 1 file changed, 4 insertions(+) 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", [