[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


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:

+ClassType = type(OldStyleClass)

which are only present for running under Py2 and which would normally be removed for Py3.


Terry Jan Reedy



More information about the Python-Dev mailing list