| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
Test that the file methods raise ValueError when called on a closed file.
Test .isatty()
Test name, closed attributes
|
|
|
|
|
|
|
| |
message for bad mode argument -- so that it doesn't fail on Windows.
It's hack. We know that errno is set to 0 in this case on Windows, so
check for that specifically.
|
|
|
|
|
|
| |
If fopen() fails with EINVAL it means that the mode argument is
invalid. Return the mode in the error message instead of the
filename.
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
to be extended somewhat -- right now it only tests the .writelines()
method.
|