Browse Source

Wait for git subprocess to finish in DulwichTCPClientTest.

Gary van der Merwe 10 năm trước cách đây
mục cha
commit
4736a989d9
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  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)