diff --git a/spacy/tests/test_cli.py b/spacy/tests/test_cli.py index a6eecc8e7..e1b3fcdb2 100644 --- a/spacy/tests/test_cli.py +++ b/spacy/tests/test_cli.py @@ -863,7 +863,7 @@ def test_span_length_freq_dist_output_must_be_correct(): def test_applycli_empty_dir(): with make_tempdir() as data_path: - output = os.path.join(data_path / "test.spacy") + output = data_path / "test.spacy" apply(data_path, output, "blank:en", 1, 1)