mirror of https://github.com/Delgan/loguru.git
54 lines
2.5 KiB
Plaintext
54 lines
2.5 KiB
Plaintext
|
||
[33m[1mTraceback (most recent call last):[0m
|
||
|
||
File "[32mtests/exceptions/source/ownership/[0m[32m[1mdirect.py[0m", line [33m19[0m, in [35m<module>[0m
|
||
[1mtest[0m[1m([0m[1mbacktrace[0m[35m[1m=[0m[36m[1mTrue[0m[1m,[0m [1mcolorize[0m[35m[1m=[0m[36m[1mTrue[0m[1m,[0m [1mdiagnose[0m[35m[1m=[0m[36m[1mTrue[0m[1m)[0m
|
||
[36m└ [0m[36m[1m<function test at 0xDEADBEEF>[0m
|
||
|
||
> File "[32mtests/exceptions/source/ownership/[0m[32m[1mdirect.py[0m", line [33m14[0m, in [35mtest[0m
|
||
[1mdivide[0m[1m([0m[34m[1m10[0m[1m,[0m [34m[1m0[0m[1m)[0m
|
||
[36m└ [0m[36m[1m<function divide at 0xDEADBEEF>[0m
|
||
|
||
File "/usr/lib/python/somelib/__init__.py", line 2, in divide
|
||
x / y
|
||
│ └ 0
|
||
└ 10
|
||
|
||
[31m[1mZeroDivisionError[0m:[1m division by zero[0m
|
||
|
||
[33m[1mTraceback (most recent call last):[0m
|
||
|
||
File "[32mtests/exceptions/source/ownership/[0m[32m[1mdirect.py[0m", line [33m14[0m, in [35mtest[0m
|
||
[1mdivide[0m[1m([0m[34m[1m10[0m[1m,[0m [34m[1m0[0m[1m)[0m
|
||
[36m└ [0m[36m[1m<function divide at 0xDEADBEEF>[0m
|
||
|
||
File "/usr/lib/python/somelib/__init__.py", line 2, in divide
|
||
x / y
|
||
│ └ 0
|
||
└ 10
|
||
|
||
[31m[1mZeroDivisionError[0m:[1m division by zero[0m
|
||
|
||
[33m[1mTraceback (most recent call last):[0m
|
||
File "[32mtests/exceptions/source/ownership/[0m[32m[1mdirect.py[0m", line [33m21[0m, in [35m<module>[0m
|
||
[1mtest[0m[1m([0m[1mbacktrace[0m[35m[1m=[0m[36m[1mTrue[0m[1m,[0m [1mcolorize[0m[35m[1m=[0m[36m[1mTrue[0m[1m,[0m [1mdiagnose[0m[35m[1m=[0m[36m[1mFalse[0m[1m)[0m
|
||
> File "[32mtests/exceptions/source/ownership/[0m[32m[1mdirect.py[0m", line [33m14[0m, in [35mtest[0m
|
||
[1mdivide[0m[1m([0m[34m[1m10[0m[1m,[0m [34m[1m0[0m[1m)[0m
|
||
File "/usr/lib/python/somelib/__init__.py", line 2, in divide
|
||
x / y
|
||
[31m[1mZeroDivisionError[0m:[1m division by zero[0m
|
||
|
||
[33m[1mTraceback (most recent call last):[0m
|
||
File "[32mtests/exceptions/source/ownership/[0m[32m[1mdirect.py[0m", line [33m14[0m, in [35mtest[0m
|
||
[1mdivide[0m[1m([0m[34m[1m10[0m[1m,[0m [34m[1m0[0m[1m)[0m
|
||
File "/usr/lib/python/somelib/__init__.py", line 2, in divide
|
||
x / y
|
||
[31m[1mZeroDivisionError[0m:[1m division by zero[0m
|
||
|
||
Traceback (most recent call last):
|
||
File "tests/exceptions/source/ownership/direct.py", line 14, in test
|
||
divide(10, 0)
|
||
File "/usr/lib/python/somelib/__init__.py", line 2, in divide
|
||
x / y
|
||
ZeroDivisionError: division by zero
|