[Twisted-Python] twisted.trial.unittest.TestCase now now has an mktemp() method

Pavel Pergamenshchik pp64 at cornell.edu
Wed Jul 2 20:46:44 EDT 2003


Hi.
Please don't use tempfile.mktemp() in tests -- use "self.mktemp" instead. It gives names from nice, organized directory structure under _trial_temp/, which is much better than putting stuff with cryptic names all over /tmp. I modified all tests that use mktemp. Yell at me if something suddenly breaks.

Pahan




More information about the Twisted-Python mailing list