From 11fd713f77bb0bc817ff3c17215fd7961c025d7e Mon Sep 17 00:00:00 2001 From: "James E. King III" Date: Sun, 5 May 2019 15:04:31 -0400 Subject: Resolve test incompatibility with git v2.21.0 This fixes #869 --- git/test/test_remote.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'git/test') diff --git a/git/test/test_remote.py b/git/test/test_remote.py index f3a214cb..99949b9e 100644 --- a/git/test/test_remote.py +++ b/git/test/test_remote.py @@ -638,7 +638,7 @@ class TestRemote(TestBase): 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) -- cgit v1.2.3