Oops, don't test for a name attribute here.  That's a higher-level feature.
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 @@
 
         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':