[issue7881] Hardcoded path, unsafe tempfile in test_logging
Kurt B. Kaiser
report at bugs.python.org
Mon Feb 8 04:29:09 CET 2010
Kurt B. Kaiser <kbk at shore.net> added the comment:
In addition, the /tmp/tmp.txt file is only writeable by the user that created it. On the buildbot machine I'm admin'ing, the buildslave user created the file and user neal's run of build.sh on the trunk fails because it can't write the file. Also, to avoid clutter in /tmp, the file should not only be created safely as Neil suggests, but removed when the test is complete.
Python tracker <report at bugs.python.org>
More information about the Python-bugs-list