summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_fileio.py
Commit message (Collapse)AuthorAgeFilesLines
* Issue #8438: Remove reference to the missing "surrogateescape" encodingAntoine Pitrou2010-04-191-0/+20
| | | | error handler from the new IO library.
* Use "x in y" instead of y.find(x) != -1.Ezio Melotti2010-03-171-1/+1
|
* Issue #7849: Now the utility ``check_warnings`` verifies if the warnings areFlorent Xicluna2010-03-071-1/+1
| | | | effectively raised. A new utility ``check_py3k_warnings`` deals with py3k warnings.
* Remove unused imports in test modules.Georg Brandl2010-02-071-2/+1
|
* - Issue #6939: Fix file I/O objects in the `io` module to keep the originalAntoine Pitrou2010-01-311-0/+11
| | | | | | file position when calling `truncate()`. It would previously change the file position to the given argument, which goes against the tradition of ftruncate() and other truncation APIs. Patch by Pascal Chambon.
* accept None as the same as having passed no argument in file types #7349Benjamin Peterson2009-12-131-0/+9
| | | | | | | This is for consistency with imitation file objects like StringIO and BytesIO. This commit also adds a few tests, where they were lacking for concerned methods.
* convert usage of fail* to assert*Benjamin Peterson2009-06-301-6/+6
|
* Issue #6215: backport the 3.1 io libAntoine Pitrou2009-06-121-31/+154
|
* Issue #3877: skip a test_fileio subtest on all BSDs, not only FreeBSDAntoine Pitrou2009-05-231-1/+1
|
* make bad file descriptor tests more robustBenjamin Peterson2009-01-191-2/+3
|
* raise an OSError for invalid fds #4991Benjamin Peterson2009-01-191-0/+4
|
* #4764 in io.open, set IOError.filename when trying to open a directory on ↵Benjamin Peterson2008-12-291-0/+1
| | | | POSIX platforms
* backport r67325: make FileIO.mode always contain 'b'Benjamin Peterson2008-11-221-2/+2
|
* move a FileIO test to test_fileioBenjamin Peterson2008-11-031-1/+9
|
* #3703 unhelpful _fileio.FileIO error message when trying to open a directoryBenjamin Peterson2008-09-011-0/+11
| | | | Reviewer: Gregory P. Smith
* #3662: Fix segfault introduced when fixing memory leaks.Neal Norwitz2008-08-241-0/+4
| | | | | TESTED=./python -E -tt ./Lib/test/regrtest.py test_fileio R (approach from bug)=Amaury and Benjamin
* backport test_fileioBenjamin Peterson2008-07-181-0/+240