diff options
author | Christian Heimes <christian@cheimes.de> | 2007-11-27 23:53:14 (GMT) |
---|---|---|
committer | Christian Heimes <christian@cheimes.de> | 2007-11-27 23:53:14 (GMT) |
commit | 636afc52c068ed88c08d1d0a09e459e8f3d200bc (patch) | |
tree | 51930c160387fcc8fde8952c1ac588d3619d3dd1 | |
parent | 28104c58d2457e2b74245a49e703d020cc2489df (diff) | |
download | cpython-636afc52c068ed88c08d1d0a09e459e8f3d200bc.zip cpython-636afc52c068ed88c08d1d0a09e459e8f3d200bc.tar.gz cpython-636afc52c068ed88c08d1d0a09e459e8f3d200bc.tar.bz2 |
I forgot to fix one occurence of new in test_descr
-rw-r--r-- | Lib/test/test_descr.py | 2 |
1 files changed, 1 insertions, 1 deletions
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 @@ 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: |