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
Labels
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
nexedi
cython
Commits
0e7d5046
Commit
0e7d5046
authored
May 20, 2011
by
Lisandro Dalcin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix test tag
parent
83991ecb
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
2 deletions
+5
-2
tests/errors/cdef_in_pyclass.pyx
tests/errors/cdef_in_pyclass.pyx
+3
-1
tests/errors/cfunc_directive_in_pyclass.pyx
tests/errors/cfunc_directive_in_pyclass.pyx
+2
-1
No files found.
tests/errors/cdef_in_pyclass.pyx
View file @
0e7d5046
# mode: error
class
Pyclass
(
object
):
class
Pyclass
(
object
):
cdef
bad
(
self
):
cdef
bad
(
self
):
pass
pass
_ERRORS
=
"""
_ERRORS
=
"""
2
:9: cdef statement not allowed here
4
:9: cdef statement not allowed here
"""
"""
tests/errors/cfunc_directive_in_pyclass.pyx
View file @
0e7d5046
# mode: error
import
cython
import
cython
class
Pyclass
(
object
):
class
Pyclass
(
object
):
...
@@ -6,5 +7,5 @@ class Pyclass(object):
...
@@ -6,5 +7,5 @@ class Pyclass(object):
pass
pass
_ERRORS
=
"""
_ERRORS
=
"""
5
:4: cfunc directive is not allowed here
6
:4: cfunc directive is not allowed here
"""
"""
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