From 0556e9b119c6ea1068d84dd26763e4862047e808 Mon Sep 17 00:00:00 2001 From: Tim Peters Date: Fri, 9 Jun 2006 04:02:06 +0000 Subject: [PATCH] testUnicodeOpen(): I have no idea why, but making this test clean up after itself appears to fix the test failures when test_optparse follows test_file. test_main(): Get rid of TESTFN no matter what. That's also enough to fix the mystery failures. Doesn't hurt to fix them twice :-) --- Lib/test/test_file.py | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Lib/test/test_file.py b/Lib/test/test_file.py index e19526a8791..fe3bb922a98 100644 --- a/Lib/test/test_file.py +++ b/Lib/test/test_file.py @@ -135,6 +135,7 @@ class OtherFileTests(unittest.TestCase): f = open(unicode(TESTFN), "w") self.assert_(repr(f).startswith("