loguru/tests/exceptions/output/modern/match_statement.txt

21 lines
1.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/modern/match_statement.py", line 21, in <module>
match(1)
└ <function match at 0xDEADBEEF>
File "tests/exceptions/source/modern/match_statement.py", line 18, in match
case y: case(x)
│ │ │ └ 1
│ │ └ <function case at 0xDEADBEEF>
│ └ 1
└ <function case at 0xDEADBEEF>
File "tests/exceptions/source/modern/match_statement.py", line 11, in case
match y / 0:
│ └ 1
└ <function match at 0xDEADBEEF>
ZeroDivisionError: division by zero