Commit 829d6485 authored by Lisandro Dalcin's avatar Lisandro Dalcin

fix special methods testcase for previous changes to __ipow__

parent f234571c
...@@ -401,7 +401,7 @@ cdef class VerySpecial: ...@@ -401,7 +401,7 @@ cdef class VerySpecial:
def __imod__(self, other): def __imod__(self, other):
print "VS __imod__ %d %%= %d" % (self.value, other.value) print "VS __imod__ %d %%= %d" % (self.value, other.value)
def __ipow__(self, other, mod): def __ipow__(self, other):
# We must declare mod as an argument, but we must not touch it # We must declare mod as an argument, but we must not touch it
# or we'll get a segfault. See #562 # or we'll get a segfault. See #562
print "VS __ipow__ %d %d" % (self.value, other.value) print "VS __ipow__ %d %d" % (self.value, other.value)
......
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