summaryrefslogtreecommitdiffstats
path: root/Lib/unittest/mock.py
diff options
context:
space:
mode:
authorAndrew Svetlov <andrew.svetlov@gmail.com>2012-03-14 20:46:08 (GMT)
committerAndrew Svetlov <andrew.svetlov@gmail.com>2012-03-14 20:46:08 (GMT)
commit8247b188f3f6b0d10a9a5effac6897e3ff542c11 (patch)
treea61d15d400a3d695c1d8abe2bea5d3408a4520b2 /Lib/unittest/mock.py
parentb53da6e374619428e74ae23d5a6e1f22a0de1401 (diff)
parent38b968b9131820d089e4dc68b11675c3bc98a631 (diff)
downloadcpython-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.py8
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)