A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2012-March/117660.html below:

[Python-Dev] [Python-checkins] cpython: PEP 417: Adding unittest.mock

[Python-Dev] [Python-checkins] cpython: PEP 417: Adding unittest.mock [Python-Dev] [Python-checkins] cpython: PEP 417: Adding unittest.mockTerry 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:
 > +    pass
 > +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

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4