Commit 7ae774be authored by Stefan Behnel's avatar Stefan Behnel

extend test

parent 3105a0ec
...@@ -657,7 +657,7 @@ cdef enum MyEnum: ...@@ -657,7 +657,7 @@ cdef enum MyEnum:
cdef class InferInProperties: cdef class InferInProperties:
""" """
>>> InferInProperties().x >>> InferInProperties().x
('double', 'unicode object', 'MyEnum') ('double', 'unicode object', 'MyEnum', 'MyEnum')
""" """
cdef MyEnum attr cdef MyEnum attr
def __cinit__(self): def __cinit__(self):
...@@ -668,4 +668,6 @@ cdef class InferInProperties: ...@@ -668,4 +668,6 @@ cdef class InferInProperties:
a = 1.0 a = 1.0
b = u'abc' b = u'abc'
c = self.attr c = self.attr
return typeof(a), typeof(b), typeof(c) d = enum_y
c = d
return typeof(a), typeof(b), typeof(c), typeof(d)
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