Jeremy Hylton
41c8321252
Fix SF buf #476953 : Bad more for opening file gives bad msg.
...
If fopen() fails with EINVAL it means that the mode argument is
invalid. Return the mode in the error message instead of the
filename.
2001-11-09 16:17:24 +00:00
Marc-André Lemburg
3661908a6a
This patch removes all uses of "assert" in the regression test suite
...
and replaces them with a new API verify(). As a result the regression
suite will also perform its tests in optimization mode.
Written by Marc-Andre Lemburg. Copyright assigned to Guido van Rossum.
2001-01-17 19:11:13 +00:00
Fred Drake
2ec80faae5
Clean up the temporary file when done with it.
2000-10-23 16:59:35 +00:00
Marc-André Lemburg
fa44d794bd
New test suite for file objects by Jeremy Hilton. This will need
...
to be extended somewhat -- right now it only tests the .writelines()
method.
2000-08-25 22:37:31 +00:00