diff options
Diffstat (limited to 'Lib/test/test_file.py')
-rw-r--r-- | Lib/test/test_file.py | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/Lib/test/test_file.py b/Lib/test/test_file.py index 91f6e76..7eb052b 100644 --- a/Lib/test/test_file.py +++ b/Lib/test/test_file.py @@ -30,14 +30,10 @@ class AutoFileTests(unittest.TestCase): def testAttributes(self): # verify expected attributes exist f = self.f - softspace = f.softspace f.name # merely shouldn't blow up f.mode # ditto f.closed # ditto - # verify softspace is writable - f.softspace = softspace # merely shouldn't blow up - # verify the others aren't for attr in 'name', 'mode', 'closed': self.assertRaises((AttributeError, TypeError), setattr, f, attr, 'oops') |