summaryrefslogtreecommitdiffstats
path: root/Lib/unittest
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/unittest')
-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)