diff options
| author | Andrew Svetlov <andrew.svetlov@gmail.com> | 2012-03-14 20:46:08 (GMT) |
|---|---|---|
| committer | Andrew Svetlov <andrew.svetlov@gmail.com> | 2012-03-14 20:46:08 (GMT) |
| commit | 8247b188f3f6b0d10a9a5effac6897e3ff542c11 (patch) | |
| tree | a61d15d400a3d695c1d8abe2bea5d3408a4520b2 /Lib/unittest/mock.py | |
| parent | b53da6e374619428e74ae23d5a6e1f22a0de1401 (diff) | |
| parent | 38b968b9131820d089e4dc68b11675c3bc98a631 (diff) | |
| download | cpython-8247b188f3f6b0d10a9a5effac6897e3ff542c11.zip cpython-8247b188f3f6b0d10a9a5effac6897e3ff542c11.tar.gz cpython-8247b188f3f6b0d10a9a5effac6897e3ff542c11.tar.bz2 | |
Megre from tip
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 98d680b..89fe232 100644 --- a/Lib/unittest/mock.py +++ b/Lib/unittest/mock.py @@ -1,5 +1,8 @@ # mock.py # Test tools for mocking and patching. +# Maintained by Michael Foord +# Backport for other versions of Python available from +# http://pypi.python.org/pypi/mock __all__ = ( 'Mock', @@ -259,11 +262,6 @@ _missing = sentinel.MISSING _deleted = sentinel.DELETED -class OldStyleClass: - pass -ClassType = type(OldStyleClass) - - def _copy(value): if type(value) in (dict, list, tuple, set): return type(value)(value) |
