From dbf57cc58ad51d99a1f6f008d4e30ef5fadb7e05 Mon Sep 17 00:00:00 2001 From: tligui_y Date: Sun, 3 Aug 2025 21:16:16 +0200 Subject: [PATCH] Update tests/test_utils_ipy.py --- tests/test_utils_ipy.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_utils_ipy.py b/tests/test_utils_ipy.py index 1821ea695..6c54a7cb2 100644 --- a/tests/test_utils_ipy.py +++ b/tests/test_utils_ipy.py @@ -59,7 +59,7 @@ def test_devices_repr_fallback_and_ignore(): ipy.user_ns["_test_hidden_device"] = WithDescription("HIDDEN") - # Inject valid devices into the IPython user namespace === + # Inject valid devices into IPython ipy.user_ns["test_desc"] = WithDescription("D1") # has description ipy.user_ns["test_doc"] = WithDoc("D2") # has __doc__ @@ -82,7 +82,7 @@ def test_devices_repr_fallback_and_ignore(): assert "test_id" in out assert "D4" in out - # ❌ Assert that all ignored values are NOT shown + # Assert that all ignored values are NOT shown for bad in [ "test_str", "test_int", "test_list", "test_func", "test_module", "test_fake_device", "_test_hidden_device"