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
Boxiang Sun
cython
Commits
c4538858
Commit
c4538858
authored
Nov 08, 2010
by
Stefan Behnel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
failing test for ticket #583
parent
521350d4
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
24 additions
and
0 deletions
+24
-0
tests/bugs.txt
tests/bugs.txt
+1
-0
tests/run/pure_mode_cmethod_inheritance_T583.pxd
tests/run/pure_mode_cmethod_inheritance_T583.pxd
+5
-0
tests/run/pure_mode_cmethod_inheritance_T583.py
tests/run/pure_mode_cmethod_inheritance_T583.py
+18
-0
No files found.
tests/bugs.txt
View file @
c4538858
...
...
@@ -16,6 +16,7 @@ with_statement_module_level_T536
function_as_method_T494
closure_inside_cdef_T554
ipow_crash_T562
pure_mode_cmethod_inheritance_T583
# CPython regression tests that don't current work:
...
...
tests/run/pure_mode_cmethod_inheritance_T583.pxd
0 → 100644
View file @
c4538858
cdef
class
Base
:
cpdef
str
method
(
self
)
cdef
class
Derived
(
Base
):
cpdef
str
method
(
self
)
tests/run/pure_mode_cmethod_inheritance_T583.py
0 → 100644
View file @
c4538858
class
Base
(
object
):
'''
>>> base = Base()
>>> print(base.method())
Base
'''
def
method
(
self
):
return
"Base"
class
Derived
(
Base
):
'''
>>> derived = Derived()
>>> print(derived.method())
Derived
'''
def
method
(
self
):
return
"Derived"
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