commit | 8fff7924a4217dc73de2042168a0eda7243e26d7 | [log] [tgz] |
---|---|---|
author | Jeremy Hylton <jeremy@alum.mit.edu> | Fri Aug 03 20:56:14 2007 +0000 |
committer | Jeremy Hylton <jeremy@alum.mit.edu> | Fri Aug 03 20:56:14 2007 +0000 |
tree | cfa2d115a3a70144599501a129e560d0246c2015 | |
parent | 9648d62fd58d9ae9356ab717e3d594a61cb4782a [diff] |
Fix tests to use bytes() where the actual sockets return bytes(). Use io.BytesIO() instead of StringIO.StringIO(). FakeSocket still accepts regular strings and coverts them to bytes internally.