loguru/tests/exceptions/output/diagnose/assertion_error_custom.txt

14 lines
760 B
Plaintext
Raw Permalink Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

Traceback (most recent call last):
File "tests/exceptions/source/diagnose/assertion_error_custom.py", line 14, in <module>
foo(9, 55)
└ <function foo at 0xDEADBEEF>
File "tests/exceptions/source/diagnose/assertion_error_custom.py", line 10, in foo
assert abc > 10 and xyz == 60, "Foo assertion failed"
 │ └ 55
 └ 9
AssertionError: Foo assertion failed