Commit fb25e014 authored by Stefan Behnel's avatar Stefan Behnel

make test case actually do stuff

--HG--
rename : tests/compile/pylistsubtype.pyx => tests/run/pylistsubtype.pyx
parent 876888fc
__doc__ = """
>>> l1 = Sub1([1,2,3])
>>> len(l1)
3
>>> l2 = Sub2([1,2,3])
>>> len(l2)
3
>>> isinstance(l1, list)
True
>>> isinstance(l2, list)
True
>>> isinstance(l1, Sub1)
True
>>> isinstance(l1, Sub2)
True
>>> isinstance(l2, Sub1)
False
>>> isinstance(l2, Sub2)
True
"""
cdef extern from *:
ctypedef class __builtin__.list [ object PyListObject ]:
pass
......
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