[Python-Dev] [Python-checkins] cpython: PEP 417: Adding unittest.mock (original) (raw)
Terry Reedy tjreedy at udel.edu
Wed Mar 14 21:08:18 CET 2012
- Previous message: [Python-Dev] cpython: PEP 417: Adding unittest.mock
- Next message: [Python-Dev] [Python-checkins] cpython: PEP 417: Adding unittest.mock
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On 3/14/2012 3:25 PM, michael.foord wrote:
+# mock.py +# Test tools for mocking and patching.
Should there be a note here about restrictions on editing this file? I notice that there are things like
+class OldStyleClass:
- pass
+ClassType = type(OldStyleClass)
which are only present for running under Py2 and which would normally be removed for Py3.
Terry Jan Reedy
- Previous message: [Python-Dev] cpython: PEP 417: Adding unittest.mock
- Next message: [Python-Dev] [Python-checkins] cpython: PEP 417: Adding unittest.mock
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]