diff options
author | Michael Foord <michael@voidspace.org.uk> | 2012-03-25 22:12:55 (GMT) |
---|---|---|
committer | Michael Foord <michael@voidspace.org.uk> | 2012-03-25 22:12:55 (GMT) |
commit | 944e02d055d10325968b778c0188df1e150b2bc7 (patch) | |
tree | 2d10e427aa55a6fa4125194544982056332c4752 /Lib/unittest/mock.py | |
parent | e58a562d9395b8a4ed9419b735cad9f78c8ae802 (diff) | |
download | cpython-944e02d055d10325968b778c0188df1e150b2bc7.zip cpython-944e02d055d10325968b778c0188df1e150b2bc7.tar.gz cpython-944e02d055d10325968b778c0188df1e150b2bc7.tar.bz2 |
Adding unittest.mock documentation
Diffstat (limited to 'Lib/unittest/mock.py')
-rw-r--r-- | Lib/unittest/mock.py | 8 |
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', ]) |