Fix for Python 3
This commit is contained in:
parent
444386f271
commit
af91855b18
5 changed files with 14 additions and 15 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue