From 24d88eef98380b9b481d9ec5ffd9bd453f8cb27a Mon Sep 17 00:00:00 2001 From: tligui_y Date: Fri, 8 Aug 2025 21:09:27 +0200 Subject: [PATCH] Update tests/test_utils_pv.py --- tests/test_utils_pv.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 = []