Browse Source

Close suprocess pipes in DulwichTCPClientTest.

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