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

46 lines
3.0 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/parenthesis.py", line 47, in <module>
e()
└ <function e at 0xDEADBEEF>
File "tests/exceptions/source/diagnose/parenthesis.py", line 43, in e
) + d(()) + a
 │ └ 1
 └ <function d at 0xDEADBEEF>
File "tests/exceptions/source/diagnose/parenthesis.py", line 36, in d
; z = (x * y); y = (j or xyz.val * c() \
 │ │ │ │ │ │ │ └ <function c at 0xDEADBEEF>
 │ │ │ │ │ │ └ 123
 │ │ │ │ │ └ <__main__.XYZ object at 0xDEADBEEF>
 │ │ │ │ └ ()
 │ │ │ └ 5
 │ │ └ 5
 │ └ 2
 └ 10
File "tests/exceptions/source/diagnose/parenthesis.py", line 28, in c
x.val += 456 and b()
│ │ └ <function b at 0xDEADBEEF>
│ └ 123
└ <__main__.XYZ object at 0xDEADBEEF>
File "tests/exceptions/source/diagnose/parenthesis.py", line 22, in b
foo[("baz")] = bar() + (a(5, baz))
│ │ │ └ 0
│ │ └ <function a at 0xDEADBEEF>
│ └ <class '__main__.XYZ'>
└ {}
File "tests/exceptions/source/diagnose/parenthesis.py", line 17, in a
(a, b, x.val, ) = 12, 15 / c, 17
 │ │ │ │ └ 0
 │ │ │ └ 9
 │ │ └ <__main__.XYZ object at 0xDEADBEEF>
 │ └ 5
 └ <function a at 0xDEADBEEF>
ZeroDivisionError: division by zero