diff options
Diffstat (limited to 'Lib/test/test_file.py')
-rw-r--r-- | Lib/test/test_file.py | 4 |
1 files changed, 3 insertions, 1 deletions
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 @@ f.close() 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') |