Fix for Python 3

This commit is contained in:
Roy Hyunjin Han 2015-02-23 10:54:33 -05:00
commit af91855b18
5 changed files with 14 additions and 15 deletions

View file

@ -68,7 +68,7 @@ class XHR_PollingTransport(AbstractTransport):
(engineIO_packet_type, engineIO_packet_data),
]),
**self.kw_post)
assert response.content == 'ok'
assert response.content == b'ok'
def _get_timestamp(self):
timestamp = '%s-%s' % (int(time.time() * 1000), self.request_index)