From c23055d2cafb60763f64a4a3d4377668d1cfc23c Mon Sep 17 00:00:00 2001 From: Thomas Kluyver Date: Fri, 10 Feb 2023 15:24:35 +0000 Subject: [PATCH] Remove cleanup workaround to fix some ResourceWarnings --- tornado/test/asyncio_test.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/tornado/test/asyncio_test.py b/tornado/test/asyncio_test.py index 0b18ee5f9..3d6bb39cc 100644 --- a/tornado/test/asyncio_test.py +++ b/tornado/test/asyncio_test.py @@ -108,9 +108,6 @@ class AsyncIOLoopTest(AsyncTestCase): self.asyncio_loop.run_until_complete(native_coroutine_with_adapter2()), 42, ) - # I'm not entirely sure why this manual cleanup is necessary but without - # it we have at-a-distance failures in ioloop_test.TestIOLoopCurrent. - asyncio.set_event_loop(None) class LeakTest(unittest.TestCase): -- 2.47.2