diff --git a/idaes/core/util/tests/test_model_diagnostics.py b/idaes/core/util/tests/test_model_diagnostics.py index c7d60acde8..d919a9dade 100644 --- a/idaes/core/util/tests/test_model_diagnostics.py +++ b/idaes/core/util/tests/test_model_diagnostics.py @@ -2282,7 +2282,7 @@ def test_run_ipopt_with_stats(self): assert iters == 1 assert iters_in_restoration == 0 assert iters_w_regularization == 0 - assert time < 0.01 + assert isinstance(time, float) @pytest.mark.component @pytest.mark.solver