On Mon, Jul 19, 2010 at 12:12 AM, Eli Bendersky <eli...@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. _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com