commit | 636afc52c068ed88c08d1d0a09e459e8f3d200bc | [log] [tgz] |
---|---|---|
author | Christian Heimes <christian@cheimes.de> | Tue Nov 27 23:53:14 2007 +0000 |
committer | Christian Heimes <christian@cheimes.de> | Tue Nov 27 23:53:14 2007 +0000 |
tree | 51930c160387fcc8fde8952c1ac588d3619d3dd1 | |
parent | 28104c58d2457e2b74245a49e703d020cc2489df [diff] [blame] |
I forgot to fix one occurence of new in test_descr
diff --git a/Lib/test/test_descr.py b/Lib/test/test_descr.py index 993cebd..9fa8659 100644 --- a/Lib/test/test_descr.py +++ b/Lib/test/test_descr.py
@@ -2010,7 +2010,7 @@ # 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: