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

21 lines
1.9 KiB
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/attributes.py", line 26, in <module>
foo()
└ <function foo at 0xDEADBEEF>
File "tests/exceptions/source/diagnose/attributes.py", line 22, in foo
... + 1 + bar(a).b + a.forbidden + a.nope.a + x.__bool__ or a. b . isdigit() and .3 + ...
 │ │ │ │ │ │ │ │ └ <method 'isdigit' of 'str' objects>
 │ │ │ │ │ │ │ └ '123'
 │ │ │ │ │ │ └ <__main__.Obj object at 0xDEADBEEF>
 │ │ │ │ │ └ <slot wrapper '__bool__' of 'NoneType' objects>
 │ │ │ │ └ None
 │ │ │ └ <__main__.Obj object at 0xDEADBEEF>
 │ │ └ <property object at 0xDEADBEEF>
 │ └ <__main__.Obj object at 0xDEADBEEF>
 └ <__main__.Obj object at 0xDEADBEEF>
TypeError: unsupported operand type(s) for +: 'ellipsis' and 'int'