Update tests/test_utils_ipy.py
Run CI Tests / test (push) Successful in 54s

This commit is contained in:
2025-08-03 21:16:16 +02:00
parent ed8492478d
commit dbf57cc58a
+2 -2
View File
@@ -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"