From: Tim Peters Date: Fri, 9 Jun 2006 04:02:06 +0000 (+0000) Subject: testUnicodeOpen(): I have no idea why, but making this X-Git-Tag: v2.5b1~184 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0556e9b119c6ea1068d84dd26763e4862047e808;p=python 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 :-) --- diff --git a/Lib/test/test_file.py b/Lib/test/test_file.py index e19526a879..fe3bb922a9 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("