Commit 6ef6306d authored by Guido van Rossum's avatar Guido van Rossum

Oops, don't test for a name attribute here. That's a higher-level feature.

parent 13633bb8
......@@ -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':
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment