summaryrefslogtreecommitdiff
path: root/git/test/test_git.py
diff options
context:
space:
mode:
Diffstat (limited to 'git/test/test_git.py')
-rw-r--r--git/test/test_git.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/git/test/test_git.py b/git/test/test_git.py
index 21ef52da..059f90c0 100644
--- a/git/test/test_git.py
+++ b/git/test/test_git.py
@@ -180,7 +180,7 @@ class TestGit(TestBase):
# test a good path refresh
which_cmd = "where" if is_win else "which"
- path = os.popen("{0} git".format(which_cmd)).read().strip()
+ path = os.popen("{0} git".format(which_cmd)).read().strip().split('\n')[0]
refresh(path)
def test_options_are_passed_to_git(self):