Skip to content

Commit 1680f2e

Browse files
committed
Don't pass loop to asyncio.wait()
1 parent 5a79996 commit 1680f2e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/python-package.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
runs-on: ubuntu-latest
1616
strategy:
1717
matrix:
18-
python-version: [3.6, 3.7, 3.8]
18+
python-version: [3.6, 3.7, 3.8, 3.9, 3.10]
1919

2020
steps:
2121
- uses: actions/checkout@v2

jupyter_console/ptshell.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -673,7 +673,7 @@ def mainloop(self):
673673
# wish to include external content
674674
tasks.append(self.handle_external_iopub(loop=loop))
675675

676-
main_task = asyncio.wait(tasks, loop=loop, return_when=asyncio.FIRST_COMPLETED)
676+
main_task = asyncio.wait(tasks, return_when=asyncio.FIRST_COMPLETED)
677677
_, pending = loop.run_until_complete(main_task)
678678

679679
for task in pending:

0 commit comments

Comments
 (0)