Skip to content

Commit

Permalink
BytesIO fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
shazow committed Jan 23, 2012
1 parent 2ee303f commit 7bacb2c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/test_response.py
Expand Up @@ -49,7 +49,7 @@ def test_no_preload(self):
self.assertEqual(fp.tell(), len(b'foo'))

def test_decode_bad_data(self):
fp = BytesIO('\x00' * 10)
fp = BytesIO(b'\x00' * 10)
self.assertRaises(zlib.error, HTTPResponse, fp, headers={
'content-encoding': 'deflate'
})
Expand Down

0 comments on commit 7bacb2c

Please sign in to comment.