From: Lisandro Dalcin Date: Wed, 2 Mar 2011 20:08:40 +0000 (-0300) Subject: fix special methods testcase for previous changes to __ipow__ X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=829d6485b77b5688671959f840712c01e6886556;p=cython.git fix special methods testcase for previous changes to __ipow__ --- diff --git a/tests/run/special_methods_T561.pyx b/tests/run/special_methods_T561.pyx index 0f84eba3..3a6eb1c0 100644 --- a/tests/run/special_methods_T561.pyx +++ b/tests/run/special_methods_T561.pyx @@ -401,7 +401,7 @@ cdef class VerySpecial: def __imod__(self, other): 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 # or we'll get a segfault. See #562 print "VS __ipow__ %d %d" % (self.value, other.value)