| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
ValueError when called for a closed file.
|
|
|
|
|
|
|
|
| |
imports of test modules now import from the test package. Other
related oddities are also fixed (like DeprecationWarning filters that
weren't specifying the full import part, etc.). Also did a general
code cleanup to remove all "from test.test_support import *"'s. Other
from...import *'s weren't changed.
|
| |
|
| |
|
|
|
|
| |
Add test for file.readinto().
|
|
|
|
|
|
| |
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.
|