From 44b6bd21799beee97b2d2b73c533956f47fa4217 Mon Sep 17 00:00:00 2001 From: Fred Drake Date: Mon, 23 Oct 2000 16:37:14 +0000 Subject: Added note saying to use test_support.TESTFN for a temporary filename, and be clear that you need to clean it up when done. --- Lib/test/README | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Lib/test/README b/Lib/test/README index 81e11fa..0380a08 100644 --- a/Lib/test/README +++ b/Lib/test/README @@ -115,6 +115,11 @@ In designing test cases you should pay attention to the following: test, try to write a test case that exposes the bug (preferably before fixing it). + * If you need to create a temporary file, you can use the filename in + test_support.TESTFN to do so. It is important to remove the file + when done; other tests should be able to use the name without cleaning + up after your test. + Regression Test Writing Rules -- cgit v0.12