Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitf38cc00

Browse files
committed
Make 2 more too-low git version skips into errors
In the tests only, and not in any way affecting the feature set orrequirements of GitPython itself.This is similar to, and with the same reasoning as,cf5f1dc.
1 parentcd175a5 commitf38cc00

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

‎test/test_repo.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
importpickle
1414
importsys
1515
importtempfile
16-
fromunittestimportmock,SkipTest,skip
16+
fromunittestimportmock,skip
1717

1818
importpytest
1919

@@ -1235,7 +1235,7 @@ def test_merge_base(self):
12351235
deftest_is_ancestor(self):
12361236
git=self.rorepo.git
12371237
ifgit.version_info[:3]< (1,8,0):
1238-
raiseSkipTest("git merge-base --is-ancestor feature unsupported")
1238+
raiseRuntimeError("git merge-base --is-ancestor feature unsupported (test needs git 1.8.0 or later)")
12391239

12401240
repo=self.rorepo
12411241
c1="f6aa8d1"
@@ -1283,7 +1283,7 @@ def test_git_work_tree_dotgit(self, rw_dir):
12831283
based on it."""
12841284
git=Git(rw_dir)
12851285
ifgit.version_info[:3]< (2,5,1):
1286-
raiseSkipTest("worktree feature unsupported")
1286+
raiseRuntimeError("worktree feature unsupported (test needs git 2.5.1 or later)")
12871287

12881288
rw_master=self.rorepo.clone(join_path_native(rw_dir,"master_repo"))
12891289
branch=rw_master.create_head("aaaaaaaa")

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp