From 2d23e28e81273d4bbc56d060e1d0078f25360b43 Mon Sep 17 00:00:00 2001 From: Steven Silvester Date: Thu, 22 Jun 2023 08:45:30 -0500 Subject: [PATCH] Fix lint error (#289) Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> --- nbclient/tests/test_util.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nbclient/tests/test_util.py b/nbclient/tests/test_util.py index e40c639..2dd8933 100644 --- a/nbclient/tests/test_util.py +++ b/nbclient/tests/test_util.py @@ -38,7 +38,7 @@ def test_nested_asyncio_with_tornado(): async def some_async_function(): future: asyncio.Future = asyncio.ensure_future(asyncio.sleep(0.1)) # the asyncio module, check if tornado likes it: - ioloop.add_future(future, lambda f: f.result()) # type:ignore + ioloop.add_future(future, lambda f: f.result()) await future return 42