Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Nov 24, 2022
1 parent 39f6df7 commit 9ff8aed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jupyter_core/utils/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ async def ensure_async(obj: Union[Awaitable, Any]) -> Any:
try:
result = await obj
except RuntimeError as e:
if str(e) == 'cannot reuse already awaited coroutine':
if str(e) == "cannot reuse already awaited coroutine":
# obj is already the coroutine's result
return obj
raise
Expand Down

0 comments on commit 9ff8aed

Please sign in to comment.