summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_fileinput.py
Commit message (Collapse)AuthorAgeFilesLines
...
* Patch #1212287: fileinput.input() now has a mode parameter forGeorg Brandl2006-02-191-1/+18
| | | | specifying the file mode input files should be opened with.
* Patch #1215184: fileinput now has a fileno() function for getting theGeorg Brandl2006-02-191-0/+16
| | | | current file number.
* Patch #1337756: fileinput now accepts Unicode filenames.Georg Brandl2006-02-191-0/+10
|
* Get rid of relative imports in all unittests. Now anything thatBarry Warsaw2002-07-231-1/+1
| | | | | | | | | | | imports e.g. test_support must do so using an absolute package name such as "import test.test_support" or "from test import test_support". This also updates the README in Lib/test, and gets rid of the duplicate data dirctory in Lib/test/data (replaced by Lib/email/test/data). Now Tim and Jack can have at it. :)
* SF patch #440170: Tests for fileinput module.Tim Peters2001-07-111-0/+159
New test_fileinput.py from Nick Mathewson, fiddled to use TESTFN and sundry style nits.