diff -r 858cb1538531 Lib/fileinput.py --- a/Lib/fileinput.py Sat Nov 14 15:14:58 2015 -0800 +++ b/Lib/fileinput.py Mon Nov 16 01:10:36 2015 -0200 @@ -82,7 +82,8 @@ import sys, os __all__ = ["input", "close", "nextfile", "filename", "lineno", "filelineno", - "isfirstline", "isstdin", "FileInput"] + "fileno", "isfirstline", "isstdin", "FileInput", "hook_compressed", + "hook_encoded"] _state = None diff -r 858cb1538531 Lib/test/test_fileinput.py --- a/Lib/test/test_fileinput.py Sat Nov 14 15:14:58 2015 -0800 +++ b/Lib/test/test_fileinput.py Mon Nov 16 01:10:36 2015 -0200 @@ -24,6 +24,7 @@ from test.support import verbose, TESTFN, run_unittest, check_warnings from test.support import unlink as safe_unlink +from test import support from unittest import mock @@ -902,5 +903,12 @@ check('rb', ['A\n', 'B\r\n', 'C\r', 'D\u20ac']) +class MiscTest(unittest.TestCase): + + def test_all(self): + blacklist = {'DEFAULT_BUFSIZE'} + support.check__all__(self, fileinput, blacklist=blacklist) + + if __name__ == "__main__": unittest.main()