]> git.ipfire.org Git - thirdparty/tornado.git/commitdiff
Remove cleanup workaround to fix some ResourceWarnings
authorThomas Kluyver <thomas@kluyver.me.uk>
Fri, 10 Feb 2023 15:24:35 +0000 (15:24 +0000)
committerThomas Kluyver <thomas@kluyver.me.uk>
Fri, 10 Feb 2023 15:24:35 +0000 (15:24 +0000)
tornado/test/asyncio_test.py

index 0b18ee5f961d4a269d4822e1ad211b904da9e903..3d6bb39cc090515acb780b9c1ddb4b735c662a91 100644 (file)
@@ -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):