summaryrefslogtreecommitdiff
path: root/Lib/test/test_fileinput.py
AgeCommit message (Expand)AuthorLines
2018-06-05bpo-33753: Refactor creating temporary files in test_fileinput. (GH-7377)Miss Islington (bot)-146/+99
2017-09-04bpo-31281: Fix pathlib.Path incompatibility in fileinput (gh-3208)Zhiming Wang-0/+13
2017-05-22bpo-30432: FileInput doesn't accept PathLike objects for file names (#1732)Roy Williams-0/+15
2016-04-27Issue #25788: fileinput.hook_encoded() now supports an "errors" argumentSerhiy Storchaka-1/+20
2016-04-24Issue #23277: Remove unused support.run_unittest import.Serhiy Storchaka-1/+1
2016-03-08Issue #15068: Got rid of excessive buffering in fileinput.Serhiy Storchaka-4/+75
2016-03-08Issue #15068: Got rid of excessive buffering in the fileinput module.Serhiy Storchaka-1/+69
2016-01-16Issue #23883: Missing fileinput.__all__ APIs; patch by Mauro SM RodriguesMartin Panter-0/+8
2016-01-02#22709: Use stdin as-is if it does not have a buffer attribute.R David Murray-0/+11
2015-11-01Issue #25510: fileinput.FileInput.readline() now returns b'' instead of ''Serhiy Storchaka-0/+15
2014-05-14Issue #21075: fileinput.FileInput now reads bytes from standard stream ifSerhiy Storchaka-1/+9
2014-03-03Correct comments and improve failure reports in test_fileinput (closes #20501).Serhiy Storchaka-4/+7
2014-03-03Correct comments and improve failure reports in test_fileinput (closes #20501).Serhiy Storchaka-4/+7
2014-02-26Added tests for issue #20501.Serhiy Storchaka-0/+36
2014-02-26Added tests for issue #20501.Serhiy Storchaka-0/+38
2013-11-24Issue #15204: Silence and check the 'U' mode deprecation warnings in tests.Serhiy Storchaka-3/+5
2013-06-12Update various test modules to use unittest.main() for test discoveryBrett Cannon-17/+1
2012-12-25Replace IOError with OSError (#16715)Andrew Svetlov-2/+2
2011-11-07fileinput: replace this last occurence of codecs.open with builtins.open.Florent Xicluna-19/+9
2011-05-14Skip test in test_fileinput when zlib is missing.Ezio Melotti-1/+5
2011-03-18Fix #11596. When bz2 isn't available, skip test_bz2_ext_fake.briancurtin-1/+6
2011-03-15Move off of assertEquals() and over to assertEqual().Brett Cannon-3/+3
2011-03-15Adjust test names to be more descriptive instead of depending on capitalization.briancurtin-4/+4
2011-03-15import style nitsBenjamin Peterson-8/+13
2011-03-15Fix #11509. Significantly increase test coverage for fileinput.briancurtin-15/+605
2010-07-31#1286: allow using fileinput.FileInput as context manager.Georg Brandl-0/+24
2009-06-30convert old fail* assertions to assert*Benjamin Peterson-3/+3
2008-05-20#2621 rename test.test_support to test.supportBenjamin Peterson-2/+2
2008-03-24Ensure cleanup does not reference variables that don't yet exist.Neal Norwitz-0/+4
2008-02-23Merged revisions 60990-61002 via svnmerge fromChristian Heimes-1/+1
2007-08-27More changes needed to make things work once bytes and str are truly divorced.Guido van Rossum-17/+21
2007-08-09SF patch# 1770008 by Christian Heimes (plus some extras).Guido van Rossum-1/+1
2007-06-18Fix a buch of shallow test failures.Guido van Rossum-32/+37
2007-05-02Rip out all the u"..." literals and calls to unicode().Guido van Rossum-1/+1
2007-04-27Merged revisions 53952-54987 via svnmerge fromGuido van Rossum-185/+182
2007-04-21PEP 3114: rename .next() to .__next__() and add next() builtin.Georg Brandl-1/+1
2007-04-12Make a few more tests pass with the new I/O library.Guido van Rossum-1/+2
2007-02-09Fix most trivially-findable print statements.Guido van Rossum-13/+13
2006-04-21Merge p3yk branch with the trunk up to revision 45595. This breaks a fairThomas Wouters-1/+4
2006-02-19Repair new test failures on Windows due toTim Peters-4/+4
2006-02-19Patch #1215184: FileInput now can be given an opening hook which canGeorg Brandl-1/+23
2006-02-19Patch #1212287: fileinput.input() now has a mode parameter forGeorg Brandl-1/+18
2006-02-19Patch #1215184: fileinput now has a fileno() function for getting theGeorg Brandl-0/+16
2006-02-19Patch #1337756: fileinput now accepts Unicode filenames.Georg Brandl-0/+10
2002-07-23Get rid of relative imports in all unittests. Now anything thatBarry Warsaw-1/+1
2001-07-11SF patch #440170: Tests for fileinput module.Tim Peters-0/+159