Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cython
Commits
9f28d7d3
Commit
9f28d7d3
authored
Jan 23, 2022
by
Stefan Behnel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove imports and @asyncio.coroutine decorators from test that are gone in Python 3.11.
parent
7494be69
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
3 deletions
+1
-3
tests/run/asyncio_generators.srctree
tests/run/asyncio_generators.srctree
+1
-3
No files found.
tests/run/asyncio_generators.srctree
View file @
9f28d7d3
...
@@ -170,7 +170,6 @@ except ImportError:
...
@@ -170,7 +170,6 @@ except ImportError:
import asyncio
import asyncio
@asyncio.coroutine
@types_coroutine
@types_coroutine
def wait3():
def wait3():
counter = 0
counter = 0
...
@@ -189,9 +188,8 @@ try:
...
@@ -189,9 +188,8 @@ try:
except ImportError:
except ImportError:
types_coroutine = lambda f:f
types_coroutine = lambda f:f
from asyncio import
coroutine,
sleep
from asyncio import sleep
@coroutine
@types_coroutine
@types_coroutine
def wait3():
def wait3():
counter = 0
counter = 0
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment