Update tests/test_utils_debug.py
Run CI Tests / test (push) Successful in 27s

This commit is contained in:
2025-07-25 12:48:30 +02:00
parent bc21a2ede4
commit 074bf9ecf2
+2 -2
View File
@@ -54,11 +54,11 @@ def test_traceable(cls, entry, expected):
"value, cutoff, expected",
[
("abc", 10, "'abc'"),
("a" * 100, 10, "'aaaaaaaaaaa..."),
("a" * 100, 10, "'aaaaaaaaaa..."),
(12345, 10, "12345"),
([0]*100, 15, str(repr([0]*100))[:15] + "..."),
(None, 10, "None"),
(type("Obj", (), {"__repr__": lambda self: "Obj(" + "x"*50 + ")"})(), 20, "Obj(xxxxxxxxxxxxxxxxxx..."),
(type("Obj", (), {"__repr__": lambda self: "Obj(" + "x"*50 + ")"})(), 20, "Obj(xxxxxxxxxxxxxxxxx..."),
]
)