diff --git a/spacy/tests/test_misc.py b/spacy/tests/test_misc.py index c55e587e7..41c4efb8a 100644 --- a/spacy/tests/test_misc.py +++ b/spacy/tests/test_misc.py @@ -11,9 +11,3 @@ import pytest def test_util_ensure_path_succeeds(text): path = ensure_path(text) assert isinstance(path, Path) - - -@pytest.mark.parametrize('text', [b'hello/world', True, False, None]) -def test_util_ensure_path_fails(text): - path = ensure_path(text) - assert not isinstance(path, Path)