From 6ef6306dd62aa092539298ed69c7c6ffff568e2d Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Fri, 13 Apr 2007 19:02:54 +0000 Subject: Oops, don't test for a name attribute here. That's a higher-level feature. --- Lib/test/test_fileio.py | 1 - 1 file changed, 1 deletion(-) diff --git a/Lib/test/test_fileio.py b/Lib/test/test_fileio.py index bb98190..6a78154 100644 --- a/Lib/test/test_fileio.py +++ b/Lib/test/test_fileio.py @@ -51,7 +51,6 @@ class AutoFileTests(unittest.TestCase): self.assertEquals(f.mode, "w") self.assertEquals(f.closed, False) - self.assertEquals(f.name, TESTFN) # verify the attributes are readonly for attr in 'mode', 'closed': -- cgit v0.12