From: Thomas Kluyver Date: Fri, 10 Feb 2023 15:24:35 +0000 (+0000) Subject: Remove cleanup workaround to fix some ResourceWarnings X-Git-Tag: v6.3.0b1~8^2~7 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c23055d2cafb60763f64a4a3d4377668d1cfc23c;p=thirdparty%2Ftornado.git Remove cleanup workaround to fix some ResourceWarnings --- 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):