From b145de39700001d91662404221609b86d2c659d0 Mon Sep 17 00:00:00 2001 From: Sebastian Thiel Date: Sun, 7 Feb 2016 11:56:19 +0100 Subject: 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 --- git/test/test_repo.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'git/test/test_repo.py') 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) -- cgit v1.2.1