From 6128b960c3078c547a9f60df8d8049c9fce8e000 Mon Sep 17 00:00:00 2001 From: Yury Selivanov Date: Tue, 22 May 2018 18:08:54 -0400 Subject: [PATCH] tests: Fix hanging test_read_pty_output --- tests/test_pipes.py | 1 + 1 file changed, 1 insertion(+) 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(