We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cc34077 commit 4d851a6Copy full SHA for 4d851a6
git/test/test_git.py
@@ -180,7 +180,7 @@ def test_refresh(self):
180
181
# test a good path refresh
182
which_cmd = "where" if is_win else "which"
183
- path = os.popen("{0} git".format(which_cmd)).read().strip()
+ path = os.popen("{0} git".format(which_cmd)).read().strip().split('\n')[0]
184
refresh(path)
185
186
def test_options_are_passed_to_git(self):
0 commit comments