Add next and __iter__ to the list of file methods that should raise
ValueError when called for a closed file.
diff --git a/Lib/test/test_file.py b/Lib/test/test_file.py
index 1eb8418..be1b2de 100644
--- a/Lib/test/test_file.py
+++ b/Lib/test/test_file.py
@@ -89,7 +89,9 @@
 if not f.closed:
     raise TestFailed, 'file.closed should be true'
 
-methods = ['fileno', 'flush', 'isatty', 'read', 'readinto', 'readline', 'readlines', 'seek', 'tell', 'truncate', 'write', 'xreadlines' ]
+methods = ['fileno', 'flush', 'isatty', 'next', 'read', 'readinto',
+           'readline', 'readlines', 'seek', 'tell', 'truncate', 'write',
+           'xreadlines', '__iter__']
 if sys.platform.startswith('atheos'):
     methods.remove('truncate')