summaryrefslogtreecommitdiffstats
path: root/Lib/unittest/mock.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/unittest/mock.py')
-rw-r--r--Lib/unittest/mock.py8
1 files changed, 3 insertions, 5 deletions
diff --git a/Lib/unittest/mock.py b/Lib/unittest/mock.py
index 4809dba..5688af3 100644
--- a/Lib/unittest/mock.py
+++ b/Lib/unittest/mock.py
@@ -1577,11 +1577,9 @@ right = ' '.join('r%s' % n for n in numerics.split())
# __del__ is not supported at all as it causes problems if it exists
_non_defaults = set('__%s__' % method for method in [
- 'cmp', 'getslice', 'setslice', 'coerce', 'subclasses',
- 'format', 'get', 'set', 'delete', 'reversed',
- 'missing', 'reduce', 'reduce_ex', 'getinitargs',
- 'getnewargs', 'getstate', 'setstate', 'getformat',
- 'setformat', 'repr', 'dir'
+ 'get', 'set', 'delete', 'reversed', 'missing', 'reduce', 'reduce_ex',
+ 'getinitargs', 'getnewargs', 'getstate', 'setstate', 'getformat',
+ 'setformat', 'repr', 'dir', 'subclasses', 'format',
])