Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
python
/
cpython3
/
73934b9da07daefb203e7d26089e7486a1ce4fdf
/
Lib
/
test
/
test_fileinput.py
be6dbfb
bpo-1613500: Don't hardcode output file mode in fileinput.FileInput (GH-12986)
by Berker Peksag
· 5 years ago
8377cd4
Clean up code which checked presence of os.{stat,lstat,chmod} (#11643)
by Anthony Sottile
· 5 years ago
84a13fb
bpo-9372: Deprecate several __getitem__ methods (GH-8609)
by Berker Peksag
· 6 years ago
5f48e26
bpo-33753: Refactor creating temporary files in test_fileinput. (GH-7377)
by Serhiy Storchaka
· 6 years ago
06de1ae
bpo-31281: Fix pathlib.Path incompatibility in fileinput (gh-3208)
by Zhiming Wang
· 7 years ago
002665a
bpo-30432: FileInput doesn't accept PathLike objects for file names (#1732)
by Roy Williams
· 7 years ago
b275210
Issue #25788: fileinput.hook_encoded() now supports an "errors" argument
by Serhiy Storchaka
· 8 years ago
597d15a
Issue #23277: Remove unused support.run_unittest import.
by Serhiy Storchaka
· 8 years ago
674e2d0
Issue #15068: Got rid of excessive buffering in fileinput.
by Serhiy Storchaka
· 8 years ago
cc2dbc5
Issue #15068: Got rid of excessive buffering in the fileinput module.
by Serhiy Storchaka
· 8 years ago
7978e10
Issue #23883: Missing fileinput.__all__ APIs; patch by Mauro SM Rodrigues
by Martin Panter
· 9 years ago
830207e
#22709: Use stdin as-is if it does not have a buffer attribute.
by R David Murray
· 9 years ago
314464d
Issue #25510: fileinput.FileInput.readline() now returns b'' instead of ''
by Serhiy Storchaka
· 9 years ago
946cfc3
Issue #21075: fileinput.FileInput now reads bytes from standard stream if
by Serhiy Storchaka
· 10 years ago
cd9028c
Correct comments and improve failure reports in test_fileinput (closes #20501).
by Serhiy Storchaka
· 10 years ago
682ea5f
Correct comments and improve failure reports in test_fileinput (closes #20501).
by Serhiy Storchaka
· 10 years ago
517b747
Added tests for issue #20501.
by Serhiy Storchaka
· 10 years ago
9fff849
Added tests for issue #20501.
by Serhiy Storchaka
· 10 years ago
2480c2e
Issue #15204: Silence and check the 'U' mode deprecation warnings in tests.
by Serhiy Storchaka
· 11 years ago
3e9a9ae
Update various test modules to use unittest.main() for test discovery
by Brett Cannon
· 11 years ago
f7a17b4
Replace IOError with OSError (#16715)
by Andrew Svetlov
· 12 years ago
a011e2b
fileinput: replace this last occurence of codecs.open with builtins.open.
by Florent Xicluna
· 13 years ago
c3afbb9
Skip test in test_fileinput when zlib is missing.
by Ezio Melotti
· 13 years ago
f84f3c3
Fix #11596. When bz2 isn't available, skip test_bz2_ext_fake.
by briancurtin
· 13 years ago
d47af53
Move off of assertEquals() and over to assertEqual().
by Brett Cannon
· 13 years ago
5eb3591
Adjust test names to be more descriptive instead of depending on capitalization.
by briancurtin
· 13 years ago
eb46288
import style nits
by Benjamin Peterson
· 13 years ago
906f0c4
Fix #11509. Significantly increase test coverage for fileinput.
by briancurtin
· 13 years ago
6cb7b65
#1286: allow using fileinput.FileInput as context manager.
by Georg Brandl
· 14 years ago
c9c0f20
convert old fail* assertions to assert*
by Benjamin Peterson
· 15 years ago
ee8712c
#2621 rename test.test_support to test.support
by Benjamin Peterson
· 16 years ago
2595e76
Ensure cleanup does not reference variables that don't yet exist.
by Neal Norwitz
· 16 years ago
05e8be1
Merged revisions 60990-61002 via svnmerge from
by Christian Heimes
· 16 years ago
e22905a
More changes needed to make things work once bytes and str are truly divorced.
by Guido van Rossum
· 17 years ago
34d1928
SF patch# 1770008 by Christian Heimes (plus some extras).
by Guido van Rossum
· 17 years ago
c43e79f
Fix a buch of shallow test failures.
by Guido van Rossum
· 17 years ago
ef87d6e
Rip out all the u"..." literals and calls to unicode().
by Guido van Rossum
· 17 years ago
d8faa36
Merged revisions 53952-54987 via svnmerge from
by Guido van Rossum
· 17 years ago
a18af4e
PEP 3114: rename .next() to .__next__() and add next() builtin.
by Georg Brandl
· 17 years ago
dc0b1a1
Make a few more tests pass with the new I/O library.
by Guido van Rossum
· 17 years ago
be19ed7
Fix most trivially-findable print statements.
by Guido van Rossum
· 17 years ago
49fd7fa
Merge p3yk branch with the trunk up to revision 45595. This breaks a fair
by Thomas Wouters
· 18 years ago
4d7cad1
Repair new test failures on Windows due to
by Tim Peters
· 18 years ago
c98eeed
Patch #1215184: FileInput now can be given an opening hook which can
by Georg Brandl
· 18 years ago
c029f87
Patch #1212287: fileinput.input() now has a mode parameter for
by Georg Brandl
· 18 years ago
67e9fb9
Patch #1215184: fileinput now has a fileno() function for getting the
by Georg Brandl
· 18 years ago
e466217
Patch #1337756: fileinput now accepts Unicode filenames.
by Georg Brandl
· 18 years ago
04f357c
Get rid of relative imports in all unittests. Now anything that
by Barry Warsaw
· 22 years ago
3230d5c
SF patch #440170: Tests for fileinput module.
by Tim Peters
· 23 years ago