summaryrefslogtreecommitdiff
path: root/test/test_git.py
diff options
context:
space:
mode:
authorSebastian Thiel <sebastian.thiel@icloud.com>2021-07-20 07:04:18 +0800
committerGitHub <noreply@github.com>2021-07-20 07:04:18 +0800
commitcfd653aeeb3cb807f2cd2ae9fff5568880ac67da (patch)
tree8514389e82efdcdcdeaab5d3a85553883f28117c /test/test_git.py
parentacbd6bad9ded9a1d59e80e71d334d64b0244f5cd (diff)
parent600df043e76924d43a4f9f88f4e3241740f34c77 (diff)
downloadgitpython-cfd653aeeb3cb807f2cd2ae9fff5568880ac67da.tar.gz
Merge pull request #1295 from Yobmod/main
Add types to refs
Diffstat (limited to 'test/test_git.py')
-rw-r--r--test/test_git.py7
1 files changed, 1 insertions, 6 deletions
diff --git a/test/test_git.py b/test/test_git.py
index 72c7ef62..7f52d650 100644
--- a/test/test_git.py
+++ b/test/test_git.py
@@ -18,7 +18,6 @@ from git import (
Repo,
cmd
)
-from git.compat import is_darwin
from test.lib import (
TestBase,
fixture_path
@@ -248,11 +247,7 @@ class TestGit(TestBase):
try:
remote.fetch()
except GitCommandError as err:
- if sys.version_info[0] < 3 and is_darwin:
- self.assertIn('ssh-orig', str(err))
- self.assertEqual(err.status, 128)
- else:
- self.assertIn('FOO', str(err))
+ self.assertIn('FOO', str(err))
def test_handle_process_output(self):
from git.cmd import handle_process_output