commit | 7684f852972901b2e55be898f316095c3acf51bc | [log] [tgz] |
---|---|---|
author | Amaury Forgeot d'Arc <amauryfa@gmail.com> | Sat May 03 12:21:13 2008 +0000 |
committer | Amaury Forgeot d'Arc <amauryfa@gmail.com> | Sat May 03 12:21:13 2008 +0000 |
tree | fa855aa9dfa7817548b203d1169b31a0e6d26719 | |
parent | 64a4bbeb259026e6bb3e4a8864870b1ed35ffab2 [diff] |
In test_io, StatefulIncrementalDecoderTest was not part of the test suite. And of course, the test failed: a bytearray was used without reason in io.TextIOWrapper.tell(). The difference is that iterating over bytes (i.e. str in python2.6) returns 1-char bytes, whereas bytearrays yield integers. This code should still work with python3.0