diff options
author | Sebastian Thiel <byronimo@gmail.com> | 2016-02-07 11:56:19 +0100 |
---|---|---|
committer | Sebastian Thiel <byronimo@gmail.com> | 2016-02-07 11:56:19 +0100 |
commit | b145de39700001d91662404221609b86d2c659d0 (patch) | |
tree | 0fabc97d33904a232b3b916a4b07b0d62a29e608 /git/test/test_repo.py | |
parent | 7b854878fb9df8d1a06c4e97bff5e164957b3a0d (diff) | |
download | gitpython-b145de39700001d91662404221609b86d2c659d0.tar.gz |
fix(clone): call communicate if there is no progress handler
Previously, it could have happened that pipes ran full, deadlocking the operation
Related to #72
Diffstat (limited to 'git/test/test_repo.py')
-rw-r--r-- | git/test/test_repo.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/git/test/test_repo.py b/git/test/test_repo.py index db3ee62b..a9e6d3c5 100644 --- a/git/test/test_repo.py +++ b/git/test/test_repo.py @@ -796,4 +796,4 @@ class TestRepo(TestBase): worktree_path = join_path_native(rw_dir, 'worktree_repo') rw_master.git.worktree('add', worktree_path, 'master') - self.failUnlessRaises(WorkTreeRepositoryUnsupported, Repo, worktree_path) + self.failUnlessRaises(InvalidGitRepositoryError, Repo, worktree_path) |