[Python-checkins] cpython: unittest.mock: remove another piece of Python 2 specific code

michael.foord python-checkins at python.org
Sun Mar 25 20:35:21 CEST 2012


http://hg.python.org/cpython/rev/4d14fb0f12f5
changeset:   75931:4d14fb0f12f5
user:        Michael Foord <michael at voidspace.org.uk>
date:        Sun Mar 25 19:35:22 2012 +0100
summary:
  unittest.mock: remove another piece of Python 2 specific code

files:
  Lib/unittest/mock.py |  2 --
  1 files changed, 0 insertions(+), 2 deletions(-)


diff --git a/Lib/unittest/mock.py b/Lib/unittest/mock.py
--- a/Lib/unittest/mock.py
+++ b/Lib/unittest/mock.py
@@ -2120,8 +2120,6 @@
     type(create_autospec),
     # instance method
     type(ANY.__eq__),
-    # unbound method
-    type(_ANY.__eq__),
 )
 
 

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list