diff --git a/tests/test_utils_pv.py b/tests/test_utils_pv.py index a2c5862fa..882871f1a 100644 --- a/tests/test_utils_pv.py +++ b/tests/test_utils_pv.py @@ -67,7 +67,7 @@ def strip_ansi(text): def test_put_with_progress_and_repr(value_new, value_before, show_bar, expected_color): pv = PV("TEST:VAL", connection_timeout=2.0) - assert pv.wait_for_connection(), "PV not connected" + assert pv.wait_for_connection(timeout=None), "PV not connected" pv.put(value_before) assert pv.get() == value_before @@ -115,7 +115,7 @@ def test_put_with_progress_and_repr(value_new, value_before, show_bar, expected_ def test_use_callback_context_manager(): pv = PV("TEST:VAL", connection_timeout=2.0) - assert pv.wait_for_connection(timeout=2.0), "PV not connected" + assert pv.wait_for_connection(timeout=None), "PV not connected" pv.put(0.0) seen_values = []