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

Commit11fd713

Browse files
committed
Resolve test incompatibility with git v2.21.0
Thisfixesgitpython-developers#869
1 parent52ee33a commit11fd713

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

‎dockernose.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,7 @@ if [ -z "${PYVER}" ]; then
44
PYVER=py37
55
fi
66

7+
# remember to use "-s" if you inject pdb.set_trace() as this disables nosetests capture of streams
8+
79
tox -e${PYVER} --notest
810
PYTHONPATH=/src/.tox/${PYVER}/lib/python*/site-packages /src/.tox/${PYVER}/bin/nosetests --pdb$*

‎git/test/test_remote.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -638,7 +638,7 @@ def test_multiple_urls(self, rw_repo):
638638

639639
deftest_fetch_error(self):
640640
rem=self.rorepo.remote('origin')
641-
withself.assertRaisesRegex(GitCommandError,"Couldn't find remote ref __BAD_REF__"):
641+
withself.assertRaisesRegex(GitCommandError,"[Cc]ouldn't find remote ref __BAD_REF__"):
642642
rem.fetch('__BAD_REF__')
643643

644644
@with_rw_repo('0.1.6',bare=False)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp