[issue17313] test_logging doesn't clean up after itself

Vinay Sajip report at bugs.python.org
Wed Feb 27 22:31:15 CET 2013


Vinay Sajip added the comment:

I investigated a little further. The file is created in the test directory (build/test_python_XXXX/) and, I assume, the dir is wiped at the end of the test.

I can go through and do an addCleanup(os.remove, 'test.log') in the relevant tests; that should do it. It probably affects all versions - I'm not sure it's worth bothering to change 2.x versions, though.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue17313>
_______________________________________


More information about the Python-bugs-list mailing list