We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 60419a7 commit 549f7d4Copy full SHA for 549f7d4
Lib/test/test_asyncio/test_subprocess.py
@@ -248,8 +248,8 @@ def test_communicate_ignore_broken_pipe(self):
248
proc, large_data = self.prepare_broken_pipe_test()
249
250
# communicate() must ignore BrokenPipeError when feeding stdin
251
- with test_utils.disable_logger():
252
- self.loop.run_until_complete(proc.communicate(large_data))
+ self.loop.set_exception_handler(lambda loop, msg: None)
+ self.loop.run_until_complete(proc.communicate(large_data))
253
self.loop.run_until_complete(proc.wait())
254
255
def test_pause_reading(self):
0 commit comments