Commit 636afc52 authored by Christian Heimes's avatar Christian Heimes

I forgot to fix one occurence of new in test_descr

parent 28104c58
......@@ -2010,7 +2010,7 @@ def recursions():
# Bug #1202533.
class A(object):
pass
A.__mul__ = new.instancemethod(lambda self, x: self * x, None, A)
A.__mul__ = types.MethodType(lambda self, x: self * x, None, A)
try:
A()*2
except RuntimeError:
......
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