From: Ben Darnell Date: Sat, 9 Dec 2017 20:14:30 +0000 (-0500) Subject: ioloop_test: Explicitly close an IOLoop X-Git-Tag: v5.0.0~34^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8e2ade8e1e3d815b3cab1df95bd7863601cb933d;p=thirdparty%2Ftornado.git ioloop_test: Explicitly close an IOLoop This avoids a warning logged at GC time. --- diff --git a/tornado/test/ioloop_test.py b/tornado/test/ioloop_test.py index 903383abd..adabeafe5 100644 --- a/tornado/test/ioloop_test.py +++ b/tornado/test/ioloop_test.py @@ -775,6 +775,7 @@ class TestPeriodicCallback(unittest.TestCase): io_loop.call_later(50, io_loop.stop) io_loop.start() self.assertEqual(calls, [1010, 1020, 1030, 1040, 1050]) + io_loop.close() class TestIOLoopConfiguration(unittest.TestCase):