Unverified Kaydet (Commit) 549f7d45 authored tarafından Andrew Svetlov's avatar Andrew Svetlov Kaydeden (comit) GitHub

Get rid of exception traceback printing in asyncio tests (GH-14343)

üst 60419a7e
......@@ -248,8 +248,8 @@ class SubprocessMixin:
proc, large_data = self.prepare_broken_pipe_test()
# communicate() must ignore BrokenPipeError when feeding stdin
with test_utils.disable_logger():
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))
self.loop.run_until_complete(proc.wait())
def test_pause_reading(self):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment