Skip to content

Commit

Permalink
Bug fix for test_editable_install (git clone --depth=1 ...)
Browse files Browse the repository at this point in the history
  • Loading branch information
xolox committed May 3, 2015
1 parent c2cc32d commit 6df9c3d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pip_accel/tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -480,7 +480,7 @@ def test_editable_install(self):
temporary_directory = create_temporary_directory()
git_checkout = os.path.join(temporary_directory, 'verboselogs')
git_remote = 'https://github.com/xolox/python-verboselogs.git'
if os.system('git clone --depth=0 %s %s' % (pipes.quote(git_remote), pipes.quote(git_checkout))) != 0:
if os.system('git clone --depth=1 %s %s' % (pipes.quote(git_remote), pipes.quote(git_checkout))) != 0:
logger.warning("Skipping editable installation test (git clone seems to have failed).")
return
# Install the package from the checkout as an editable package.
Expand Down

0 comments on commit 6df9c3d

Please sign in to comment.