Explorar el Código

Close suprocess pipes in DulwichTCPClientTest.

Gary van der Merwé hace 10 años
padre
commit
58c9c91467
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  1. 2 0
      dulwich/tests/compat/test_client.py

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

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