Commit c4538858 authored by Stefan Behnel's avatar Stefan Behnel

failing test for ticket #583

parent 521350d4
......@@ -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:
......
cdef class Base:
cpdef str method(self)
cdef class Derived(Base):
cpdef str method(self)
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"
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment