mirror of https://github.com/Delgan/loguru.git
70 lines
3.2 KiB
Plaintext
70 lines
3.2 KiB
Plaintext
|
||
[33m[1mTraceback (most recent call last):[0m
|
||
|
||
File "[32mtests/exceptions/source/ownership/[0m[32m[1mindirect.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[1mindirect.py[0m", line [33m14[0m, in [35mtest[0m
|
||
[1mdivide_indirect[0m[1m([0m[34m[1m10[0m[1m,[0m [34m[1m0[0m[1m)[0m
|
||
[36m└ [0m[36m[1m<function divide_indirect at 0xDEADBEEF>[0m
|
||
|
||
File "/usr/lib/python/somelib/__init__.py", line 6, in divide_indirect
|
||
divide(a, b)
|
||
│ │ └ 0
|
||
│ └ 10
|
||
└ <function divide at 0xDEADBEEF>
|
||
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[1mindirect.py[0m", line [33m14[0m, in [35mtest[0m
|
||
[1mdivide_indirect[0m[1m([0m[34m[1m10[0m[1m,[0m [34m[1m0[0m[1m)[0m
|
||
[36m└ [0m[36m[1m<function divide_indirect at 0xDEADBEEF>[0m
|
||
|
||
File "/usr/lib/python/somelib/__init__.py", line 6, in divide_indirect
|
||
divide(a, b)
|
||
│ │ └ 0
|
||
│ └ 10
|
||
└ <function divide at 0xDEADBEEF>
|
||
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[1mindirect.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[1mindirect.py[0m", line [33m14[0m, in [35mtest[0m
|
||
[1mdivide_indirect[0m[1m([0m[34m[1m10[0m[1m,[0m [34m[1m0[0m[1m)[0m
|
||
File "/usr/lib/python/somelib/__init__.py", line 6, in divide_indirect
|
||
divide(a, b)
|
||
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[1mindirect.py[0m", line [33m14[0m, in [35mtest[0m
|
||
[1mdivide_indirect[0m[1m([0m[34m[1m10[0m[1m,[0m [34m[1m0[0m[1m)[0m
|
||
File "/usr/lib/python/somelib/__init__.py", line 6, in divide_indirect
|
||
divide(a, b)
|
||
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/indirect.py", line 14, in test
|
||
divide_indirect(10, 0)
|
||
File "/usr/lib/python/somelib/__init__.py", line 6, in divide_indirect
|
||
divide(a, b)
|
||
File "/usr/lib/python/somelib/__init__.py", line 2, in divide
|
||
x / y
|
||
ZeroDivisionError: division by zero
|