Skip to content

Commit

Permalink
Fix lint error (#289)
Browse files Browse the repository at this point in the history
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
  • Loading branch information
blink1073 and pre-commit-ci[bot] committed Jun 22, 2023
1 parent 21f258a commit 2d23e28
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nbclient/tests/test_util.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 2d23e28

Please sign in to comment.