Browse Source

Fix testdata path in compat tests.

Jelmer Vernooij 2 years ago
parent
commit
7f83c4ad88
1 changed files with 3 additions and 1 deletions
  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")
 )