Explorar o código

Fix testdata path in compat tests.

Jelmer Vernooij %!s(int64=2) %!d(string=hai) anos
pai
achega
7f83c4ad88
Modificáronse 1 ficheiros con 3 adicións e 1 borrados
  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"
 _VERSION_LEN = 4
 _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")
 )