[Python-Dev] test turds?

Jack Jansen jack@oratrix.nl
Mon, 31 Jul 2000 23:01:00 +0200

Recently, Trent Mick <trentm@ActiveState.com> said:
> test_support.TESTFN is a test filename that is intended to be used by Python
> test scripts. Currently it is just the file '@test' in the current directory.
> A better mechanism might be to use the tempfile.mktemp() module and function.

test_dbm.py (and possibly a few others) use /tmp/delete_me. This
leaves a nasty turd on the Mac if the test fails. (Nasty because a
file called /tmp/delete_me in the Python home directory confuses the
hell out of cvs:-)
Jack Jansen             | ++++ stop the execution of Mumia Abu-Jamal ++++
Jack.Jansen@oratrix.com | ++++ if you agree copy these lines to your sig ++++
www.oratrix.nl/~jack    | see http://www.xs4all.nl/~tank/spg-l/sigaction.htm