Ticket #504 (closed defect: wontfix)
Test suite not making use of mktemp
|Reported by:||ipv6guru||Owned by:|
Use of mktemp in the test suite, rather than creating temporary directories under the cwd, would be preferrable. Affected tests are test_maildir, test_slavecommand and test_mailparse.
Submitted: Kevin Campbell ( kevca ) - 2005-04-26 17:43
Extra Comments :-
which mktemp function are you referring to? something in os.path? Trial creates ./_trial_temp anyway (and chdirs us into it), so using temporary directories there seems preferable to putting them somewhere shared like /tmp/ .