diff --git a/python/tests/test_conserved_quantities_demartino.py b/python/tests/test_conserved_quantities_demartino.py index ca40946db3..25473384e9 100644 --- a/python/tests/test_conserved_quantities_demartino.py +++ b/python/tests/test_conserved_quantities_demartino.py @@ -822,7 +822,7 @@ def test_cl_detect_execution_time(data_demartino2014): # <5s on modern hardware, but leave some slack max_time_seconds = 40 if "GITHUB_ACTIONS" in os.environ else 10 - runtime = np.Inf + runtime = np.inf for _ in range(max_tries): runtime = compute_moiety_conservation_laws_demartino2014(