)
self._make_current()
- def _make_current(self):
+ def _make_current(self) -> None:
# The asyncio event loops override this method.
raise NotImplementedError()
self._clear_current()
super().close(all_fds=all_fds)
- def _make_current(self):
+ def _make_current(self) -> None:
if not self.is_current:
try:
self.old_asyncio = asyncio.get_event_loop()
from tornado import gen, ioloop
from tornado.httpserver import HTTPServer
from tornado.locks import Event
-from tornado.test.util import ignore_deprecation
from tornado.testing import AsyncHTTPTestCase, AsyncTestCase, bind_unused_port, gen_test
from tornado.web import Application
import asyncio