Commit 4af9a38b authored by gsamain's avatar gsamain

Reflect cypclass test change inside nogil_test directory

parent e8270ec2
...@@ -83,4 +83,4 @@ cpdef bag(): ...@@ -83,4 +83,4 @@ cpdef bag():
32 32
6.8 6.8
""" """
return str(foo()) + '\n' + str(bar()) + '\n' + str(baz()) + '\n' + str(baa()) print str(foo()) + '\n' + str(bar()) + '\n' + str(baz()) + '\n' + str(baa())
...@@ -16,4 +16,4 @@ def bag(): ...@@ -16,4 +16,4 @@ def bag():
>>> bag() >>> bag()
3 3
""" """
return str(foo()) print str(foo())
\ No newline at end of file
...@@ -24,4 +24,4 @@ def bag(): ...@@ -24,4 +24,4 @@ def bag():
3 3
14 14
""" """
return str(foo()) + '\n' + str(bar()) print str(foo()) + '\n' + str(bar())
...@@ -22,4 +22,4 @@ def bag(): ...@@ -22,4 +22,4 @@ def bag():
3 3
14 14
""" """
return str(foo()) + '\n' + str(bar()) print str(foo()) + '\n' + str(bar())
...@@ -37,4 +37,4 @@ def bag(): ...@@ -37,4 +37,4 @@ def bag():
9 9
2 2
""" """
return str(foo()) + '\n' + str(bar()) + '\n' + str(baz()) print str(foo()) + '\n' + str(bar()) + '\n' + str(baz())
...@@ -16,4 +16,4 @@ def bag(): ...@@ -16,4 +16,4 @@ def bag():
>>> bag() >>> bag()
3 3
""" """
return str(foo()) print str(foo())
\ No newline at end of file
...@@ -44,5 +44,5 @@ cpdef bag(): ...@@ -44,5 +44,5 @@ cpdef bag():
c = C(5) c = C(5)
c += a c += a
c -= b c -= b
return str(a.a) + '\n' + str(b.b) + '\n' + str(c.a) + '\n' + str(c.b)\ print str(a.a) + '\n' + str(b.b) + '\n' + str(c.a) + '\n' + str(c.b)\
+ '\n' + str(A.getter(c)) + '\n' + str(B.getter(c)) + '\n' + str(A.getter(c)) + '\n' + str(B.getter(c))
...@@ -27,4 +27,4 @@ cpdef bag(): ...@@ -27,4 +27,4 @@ cpdef bag():
cdef SomeMemory[int, double] o = SomeMemory[int, double](1, 2.3) cdef SomeMemory[int, double] o = SomeMemory[int, double](1, 2.3)
cdef SomeMemory[int, int] b = new SomeMemory[int, int]() cdef SomeMemory[int, int] b = new SomeMemory[int, int]()
del b del b
return str(o.a) + '\n' + str(o.b) + '\n' + str(o.first()) + '\n' + str(o.second()) print str(o.a) + '\n' + str(o.b) + '\n' + str(o.first()) + '\n' + str(o.second())
...@@ -34,4 +34,4 @@ cpdef bag(): ...@@ -34,4 +34,4 @@ cpdef bag():
o3 += o2 o3 += o2
o1 = o2 * o3 o1 = o2 * o3
return str(o1.a) + '\n' + str(o2.a) + '\n' + str(o3.a) print str(o1.a) + '\n' + str(o2.a) + '\n' + str(o3.a)
...@@ -37,5 +37,5 @@ cpdef bag(): ...@@ -37,5 +37,5 @@ cpdef bag():
cdef SomeMemory o = SomeMemory() cdef SomeMemory o = SomeMemory()
o.a = -1 o.a = -1
cdef SomeWrapper w = SomeWrapper(3) cdef SomeWrapper w = SomeWrapper(3)
return str(<int> o) + '\n' + str(<unsigned int> o) + '\n' + str(<bint> o)\ print str(<int> o) + '\n' + str(<unsigned int> o) + '\n' + str(<bint> o)\
+ '\n' + str(<int> <SomeMemory> w) + '\n' + str(<bint> <SomeMemory> w) + '\n' + str(<int> <SomeMemory> w) + '\n' + str(<bint> <SomeMemory> w)
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