diff --git a/tests/test_pipes.py b/tests/test_pipes.py index 8bec52b..50b9d4b 100644 --- a/tests/test_pipes.py +++ b/tests/test_pipes.py @@ -126,6 +126,7 @@ class _BasePipeTest: # ignore it. self.loop.set_exception_handler(lambda loop, ctx: None) os.close(slave) + proto.transport.close() self.loop.run_until_complete(proto.done) self.assertEqual(