From 43725d1edccf76ea8b2617bbc5ca9e2ccab4815d Mon Sep 17 00:00:00 2001 From: tligui_y Date: Sun, 3 Aug 2025 19:19:01 +0200 Subject: [PATCH] Update tests/test_utils_hastyepics.py --- tests/test_utils_hastyepics.py | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/tests/test_utils_hastyepics.py b/tests/test_utils_hastyepics.py index 9c7fa687b..b650baa41 100644 --- a/tests/test_utils_hastyepics.py +++ b/tests/test_utils_hastyepics.py @@ -32,23 +32,6 @@ def test_motor_instantiation_fast_vs_epics(): assert (t1 - t0) < (t3 - t2) -def test_motor_instantiation_fast_vs_epics(): - # Motor(): creation should be faster than epics.Motor due to no RTYP check and no connection wait - t0 = time.time() - m_fast = Motor("TEST:MOTOR_t1") - t1 = time.time() - - t2 = time.time() - m_slow = epics.Motor("TEST:MOTOR_t2") - t3 = time.time() - - # Confirm both are valid motors - assert isinstance(m_fast, Motor) - assert isinstance(m_slow, epics.Motor) - - # Fast version should be faster - assert (t1 - t0) < (t3 - t2) - def test_motor_without_suffix_and_dot(): # Suffix .VAL ... dot should be stripped from name