瀏覽代碼

Fix testdata path in compat tests.

Jelmer Vernooij 2 年之前
父節點
當前提交
7f83c4ad88
共有 1 個文件被更改,包括 3 次插入1 次删除
  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")
 )