commit | 7165cb1a485b1b5574785eac6e2edc8787e43c38 | [log] [tgz] |
---|---|---|
author | Guido van Rossum <guido@python.org> | Tue Jul 10 06:54:34 2007 +0000 |
committer | Guido van Rossum <guido@python.org> | Tue Jul 10 06:54:34 2007 +0000 |
tree | 1b8edb82abcc8ef143923a43366b6a90842b5692 | |
parent | e8432ac42f9030bd75de03a07fd9059006292b7a [diff] |
Made test_file pass. This meant adding support for read(-1) and read() to even the most basic file object (I also added readall() which may be a better API). Also, not all the tests requiring specific failure modes could be saved. And there were the usual str/bytes issues. I made sure test_io.py still passes (io.py is now most thoroughly tested by combining test_file.py and test_io.py).