mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-27 02:16:32 +03:00
issue5230 added print statement to warnings filter to remotely debug failing python35(win) setup
This commit is contained in:
parent
8c1d0d628f
commit
a7bdfe42e1
|
@ -98,6 +98,8 @@ def write_obj_and_catch_warnings(obj):
|
||||||
@pytest.mark.parametrize("obj", objects_to_test[0], ids=objects_to_test[1])
|
@pytest.mark.parametrize("obj", objects_to_test[0], ids=objects_to_test[1])
|
||||||
def test_to_disk_resource_warning(obj):
|
def test_to_disk_resource_warning(obj):
|
||||||
warnings_list = write_obj_and_catch_warnings(obj)
|
warnings_list = write_obj_and_catch_warnings(obj)
|
||||||
|
for warning in warnings_list:
|
||||||
|
print(warning.message)
|
||||||
assert len(warnings_list) == 0
|
assert len(warnings_list) == 0
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user