From 51477769839f01f93ea2f06be48c2604f73266d4 Mon Sep 17 00:00:00 2001 From: Thomas Grainger Date: Sun, 1 May 2022 13:50:47 +0100 Subject: [PATCH] Update tornado/ioloop.py --- tornado/ioloop.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/tornado/ioloop.py b/tornado/ioloop.py index 3b95d08e6..82b38b216 100644 --- a/tornado/ioloop.py +++ b/tornado/ioloop.py @@ -178,9 +178,7 @@ class IOLoop(Configurable): if isinstance(impl, str): impl = import_object(impl) if isinstance(impl, type) and not issubclass(impl, BaseAsyncIOLoop): - raise RuntimeError( - "only AsyncIOLoop is allowed when asyncio is available" - ) + raise RuntimeError("only AsyncIOLoop is allowed when asyncio is available") super(IOLoop, cls).configure(impl, **kwargs) @staticmethod -- 2.47.2