[Python-Dev] test_fileinput failing on Windows (original) (raw)
Tim Peters tim.peters at gmail.com
Sun Feb 19 22:07:47 CET 2006
- Previous message: [Python-Dev] Enhancements to the fileinput module
- Next message: [Python-Dev] test_fileinput failing on Windows
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
This started failing since last night:
C:\Code\python\PCbuild>python ..\lib\test\test_fileinput.py
- Simple iteration (bs=0)
- Status variables (bs=0)
- Nextfile (bs=0)
- Stdin (bs=0)
- Boundary conditions (bs=0)
- Inplace (bs=0)
- Simple iteration (bs=30)
- Status variables (bs=30)
- Nextfile (bs=30)
- Stdin (bs=30)
- Boundary conditions (bs=30)
- Inplace (bs=30)
- 0-byte files
- Files that don't end with newline
- Unicode filenames
- fileno()
- Specify opening mode Traceback (most recent call last): File "..\lib\test\test_fileinput.py", line 201, in verify(lines == ["A\n", "B\n", "C\n", "D"]) File "C:\Code\python\lib\test\test_support.py", line 204, in verify raise TestFailed(reason) test.test_support.TestFailed: test failed
lines
at that point is
['A\n', 'B\n', '\n', 'C\n', 'D']
which indeed doesn't equal
["A\n", "B\n", "C\n", "D"]
- Previous message: [Python-Dev] Enhancements to the fileinput module
- Next message: [Python-Dev] test_fileinput failing on Windows
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]