Skip to content

Resolve test incompatibility with git v2.21.0 #870

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 5, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions dockernose.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,7 @@ if [ -z "${PYVER}" ]; then
PYVER=py37
fi

# remember to use "-s" if you inject pdb.set_trace() as this disables nosetests capture of streams

tox -e ${PYVER} --notest
PYTHONPATH=/src/.tox/${PYVER}/lib/python*/site-packages /src/.tox/${PYVER}/bin/nosetests --pdb $*
2 changes: 1 addition & 1 deletion git/test/test_remote.py
Original file line number Diff line number Diff line change
Expand Up @@ -638,7 +638,7 @@ def test_multiple_urls(self, rw_repo):

def test_fetch_error(self):
rem = self.rorepo.remote('origin')
with self.assertRaisesRegex(GitCommandError, "Couldn't find remote ref __BAD_REF__"):
with self.assertRaisesRegex(GitCommandError, "[Cc]ouldn't find remote ref __BAD_REF__"):
rem.fetch('__BAD_REF__')

@with_rw_repo('0.1.6', bare=False)
Expand Down