Update tests/test_utils_richcfg.py
Run CI Tests / test (push) Successful in 2m33s

This commit is contained in:
2025-08-29 15:58:44 +02:00
parent e5dfe835d0
commit 0fe32701ea
+4 -1
View File
@@ -93,7 +93,10 @@ def test_rich_inspector_outputs_more_than_builtin(monkeypatch):
assert "name = 'Alice'" in rich_text
# Built-in inspector does NOT show instance values
assert "30" not in builtin_text
assert "30" not in "\n".join(
line for line in builtin_text.splitlines()
if not line.strip().startswith("String form:") # id in this line that can contain the number 30
)
assert "Alice" not in builtin_text
# Built-in inspector only shows the raw __init__ function