Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Patch #2167 from calvin: Remove unused imports | Christian Heimes | 2008-02-23 | 1 | -1/+1 |
| | |||||
* | Whitespace normalization. Ugh, we really need to do this more often. | Neal Norwitz | 2007-04-25 | 1 | -7/+7 |
| | | | | You might want to review this change as it's my first time. Be gentle. :-) | ||||
* | Convert test_fileinput to use unittest. | Collin Winter | 2007-04-07 | 1 | -198/+196 |
| | |||||
* | Try to handle sys.getfilesystemencoding() returning None. | Neal Norwitz | 2006-03-26 | 1 | -1/+4 |
| | | | | | ascii seems like the safest bet that it will exist. I wonder if utf-8 would be a better choice? This should get test_fileinput passing on OpenBSD. | ||||
* | Repair new test failures on Windows due to | Tim Peters | 2006-02-19 | 1 | -4/+4 |
| | | | | | implicit assumptions that there's no difference between text and binary modes. | ||||
* | Patch #1215184: FileInput now can be given an opening hook which can | Georg Brandl | 2006-02-19 | 1 | -1/+23 |
| | | | | be used to control how files are opened. | ||||
* | Patch #1212287: fileinput.input() now has a mode parameter for | Georg Brandl | 2006-02-19 | 1 | -1/+18 |
| | | | | specifying the file mode input files should be opened with. | ||||
* | Patch #1215184: fileinput now has a fileno() function for getting the | Georg Brandl | 2006-02-19 | 1 | -0/+16 |
| | | | | current file number. | ||||
* | Patch #1337756: fileinput now accepts Unicode filenames. | Georg Brandl | 2006-02-19 | 1 | -0/+10 |
| | |||||
* | Get rid of relative imports in all unittests. Now anything that | Barry Warsaw | 2002-07-23 | 1 | -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 Peters | 2001-07-11 | 1 | -0/+159 |
New test_fileinput.py from Nick Mathewson, fiddled to use TESTFN and sundry style nits. |