Sfoglia il codice sorgente

Fix testdata path in compat tests.

Jelmer Vernooij 2 anni fa
parent
commit
7f83c4ad88
1 ha cambiato i file con 3 aggiunte e 1 eliminazioni
  1. 3 1
      dulwich/tests/compat/utils.py

+ 3 - 1
dulwich/tests/compat/utils.py

@@ -43,7 +43,9 @@ from dulwich.tests import (
 _DEFAULT_GIT = "git"
 _DEFAULT_GIT = "git"
 _VERSION_LEN = 4
 _VERSION_LEN = 4
 _REPOS_DATA_DIR = os.path.abspath(
 _REPOS_DATA_DIR = os.path.abspath(
-    os.path.join(os.path.dirname(__file__), os.pardir, "data", "repos")
+    os.path.join(
+        os.path.dirname(__file__), os.pardir, os.pardir, os.pardir,
+        "testdata", "repos")
 )
 )