From 58568bd0cd96b2f72f8b4ea81cfcc269ad93d1f5 Mon Sep 17 00:00:00 2001 From: svlandeg Date: Sun, 23 Feb 2020 16:45:37 +0100 Subject: [PATCH] fix --- spacy/tests/test_requirements.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spacy/tests/test_requirements.py b/spacy/tests/test_requirements.py index 21636766d..7922f1f18 100644 --- a/spacy/tests/test_requirements.py +++ b/spacy/tests/test_requirements.py @@ -14,7 +14,7 @@ def test_build_dependencies(en_vocab): # when running tests locally, the file is 3 levels up. On the CI, it's 2 levels up. roots = [Path(__file__).parent.parent, Path(__file__).parent.parent.parent] # or whatever for r in roots: - req_file = root_dir / "requirements.txt" + req_file = r / "requirements.txt" if req_file.exists(): root_dir = r with req_file.open() as f: