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

32 lines
2.7 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/syntax_highlighting.py", line 31, in <module>
e(0)
└ <function e at 0xDEADBEEF>
File "tests/exceptions/source/diagnose/syntax_highlighting.py", line 27, in e
x in [1], x in (1,), x in {1}, x in {1: 1}, d()
│ │ │ │ └ <function d at 0xDEADBEEF>
│ │ │ └ 0
│ │ └ 0
│ └ 0
└ 0
File "tests/exceptions/source/diagnose/syntax_highlighting.py", line 23, in d
min(range(1, 10)), list(), dict(), c(), ...
 └ <function c at 0xDEADBEEF>
File "tests/exceptions/source/diagnose/syntax_highlighting.py", line 19, in c
1, 2.5, 3.0, 0.4, "str", r"rrr", rb"binary", b()
 └ <function b at 0xDEADBEEF>
File "tests/exceptions/source/diagnose/syntax_highlighting.py", line 15, in b
a() or False == None != True
└ <function a at 0xDEADBEEF>
File "tests/exceptions/source/diagnose/syntax_highlighting.py", line 11, in a
1 / 0 + 1 * 0 - 1 % 0 // 1**0 @ 1 # Error
ZeroDivisionError: division by zero