浏览代码

Fix testdata path in compat tests.

Jelmer Vernooij 3 年之前
父节点
当前提交
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"
 _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")
 )
 )