Parcourir la source

Wait for git subprocess to finish in DulwichTCPClientTest.

Gary van der Merwe il y a 10 ans
Parent
commit
4736a989d9
1 fichiers modifiés avec 1 ajouts et 0 suppressions
  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)