summaryrefslogtreecommitdiff
path: root/test/test_git.py
diff options
context:
space:
mode:
authorYobmod <yobmod@gmail.com>2021-07-19 16:59:30 +0100
committerYobmod <yobmod@gmail.com>2021-07-19 16:59:30 +0100
commit454576254b873b7ebc45bb30846e5831dc2d8817 (patch)
tree853ad35953091faf2b0380793166fc420f1de102 /test/test_git.py
parent6609ef7c3b5bb840dba8d0a5362e67746761a437 (diff)
downloadgitpython-454576254b873b7ebc45bb30846e5831dc2d8817.tar.gz
rmv python 3.5 checks from tests
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