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
Xavier Thompson
cython
Commits
3bafb174
Commit
3bafb174
authored
Aug 05, 2017
by
Stefan Behnel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
delete outdated syntax tests
parent
003b2cfd
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
37 deletions
+0
-37
tests/errors/pep492_badsyntax_async10.pyx
tests/errors/pep492_badsyntax_async10.pyx
+0
-28
tests/errors/pep492_badsyntax_async3.pyx
tests/errors/pep492_badsyntax_async3.pyx
+0
-9
No files found.
tests/errors/pep492_badsyntax_async10.pyx
deleted
100644 → 0
View file @
003b2cfd
# mode: error
# tag: pep492, async
async
def
genexpr
(
it
):
return
(
await
x
for
x
in
it
)
async
def
listcomp
(
it
):
return
[
await
x
for
x
in
it
]
async
def
setcomp
(
it
):
return
{
await
x
for
x
in
it
}
async
def
dictcomp
(
it
):
return
{
await
x
:
x
+
1
for
x
in
it
}
# NOTE: CPython doesn't allow comprehensions either
_ERRORS
=
"""
5:12: 'await' not allowed in generators (use 'yield')
5:12: 'await' not supported here
# FIXME: remove when implementing async comprehensions
5:12: 'yield' not supported here
"""
tests/errors/pep492_badsyntax_async3.pyx
deleted
100644 → 0
View file @
003b2cfd
# mode: error
# tag: pep492, async
async
def
foo
():
[
i
async
for
i
in
els
]
_ERRORS
=
"""
5:7: Expected ']', found 'async'
"""
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