From 829d6485b77b5688671959f840712c01e6886556 Mon Sep 17 00:00:00 2001 From: Lisandro Dalcin Date: Wed, 2 Mar 2011 17:08:40 -0300 Subject: [PATCH] fix special methods testcase for previous changes to __ipow__ --- tests/run/special_methods_T561.pyx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.26.2