浏览代码

Wait for git subprocess to finish in DulwichTCPClientTest.

Gary van der Merwe 10 年之前
父节点
当前提交
4736a989d9
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      dulwich/tests/compat/test_client.py

+ 1 - 0
dulwich/tests/compat/test_client.py

@@ -287,6 +287,7 @@ class DulwichTCPClientTest(CompatTestCase, DulwichClientTestBase):
                 os.unlink(self.pidfile)
             except (OSError, IOError):
                 pass
+        self.process.wait()
         self.process.stdout.close()
         self.process.stderr.close()
         DulwichClientTestBase.tearDown(self)