Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
test_tornado: Add nocoverage for task cleanup.
Anders Kaseorgb50ac9d8dffa
diff --git a/zerver/tests/test_tornado.py b/zerver/tests/test_tornado.pyindex ffce59e49d7..acc289dd422 100644--- a/zerver/tests/test_tornado.py+++ b/zerver/tests/test_tornado.py@@ -49,7 +49,7 @@ class TornadoWebTestCase(ZulipTestCase):self.http_server.stop()await self.http_server.close_all_connections()tasks = set(asyncio.all_tasks()) - {asyncio.current_task()}- if tasks:+ if tasks: # nocoverageawait asyncio.wait(tasks)async def fetch_async(self, method: str, path: str, **kwargs: Any) -> HTTPResponse: