mirror of
https://github.com/explosion/spaCy.git
synced 2025-08-28 07:54:56 +03:00
Improve error logging
This commit is contained in:
parent
70fa1ce644
commit
afba051b62
|
@ -266,6 +266,9 @@ sys.exit(int(rc))
|
||||||
assert rc_e.value.code == 15
|
assert rc_e.value.code == 15
|
||||||
else:
|
else:
|
||||||
assert rc_e.value.code == 1
|
assert rc_e.value.code == 1
|
||||||
|
time_taken = time() - start < 15
|
||||||
assert (
|
assert (
|
||||||
time() - start < 15
|
time_taken < 15
|
||||||
), "Test took too long, subprocess seems not to have been terminated"
|
), "Test took {time_taken}, subprocess seems not to have been terminated"
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user