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/2010-July/102060.html below:

[Python-Dev] Does trace modules have a unit test?

[Python-Dev] Does trace modules have a unit test? [Python-Dev] Does trace modules have a unit test?Alexander Belopolsky alexander.belopolsky at gmail.com
Mon Jul 19 06:23:50 CEST 2010
On Mon, Jul 19, 2010 at 12:21 AM, Alexander Belopolsky
<alexander.belopolsky at gmail.com> wrote:
> On Mon, Jul 19, 2010 at 12:12 AM, Eli Bendersky <eliben at gmail.com> wrote:
> ..
>> stdout output can be captured, but what about the .cover files? Can a Python
>> unit test create temporary files in tmp/ (or somewhere else) as part of its
>> testing, or is this forbidden?
>>
>
> That's perfectly fine.  Grep in the Lib/test directory for
> 'tempfile.mkdtemp()' to see examples.
>

Actually the first hit is Lib/test/script_helper.py which contains
several utilities that you may find useful.
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