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

19 lines
1.3 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/f_string.py", line 21, in <module>
hello()
└ <function hello at 0xDEADBEEF>
File "tests/exceptions/source/modern/f_string.py", line 11, in hello
output = f"Hello" + f' ' + f"""World""" and world()
 └ <function world at 0xDEADBEEF>
File "tests/exceptions/source/modern/f_string.py", line 17, in world
f"{name} -> { f }" and {} or f'{{ {f / 0} }}'
 │ │ └ 1
 │ └ 1
 └ 'world'
ZeroDivisionError: division by zero