Package: src:python-msrest
Version: 0.6.18-1
Severity: serious
Tags: sid bullseye
User: debian-python at lists.debian.org
Usertags: python3.9
self = <httpretty.core.fakesock.socket object at 0x7fc25d6caf10>, mode = 'rb'
bufsize = -1
def makefile(self, mode='r', bufsize=-1):
"""Returns this fake socket's own tempfile buffer.
If there is an entry associated with the socket, the file
descriptor gets filled in with the entry data before being
returned.
"""
self._mode = mode
self._bufsize = bufsize
if self._entry:
t = threading.Thread(
target=self._entry.fill_filekind, args=(self.fd,)
)
t.start()
if self.timeout == socket._GLOBAL_DEFAULT_TIMEOUT:
timeout = None
else:
timeout = self.timeout
t.join(timeout)
> if t.isAlive():
E AttributeError: 'Thread' object has no attribute 'isAlive'
/usr/lib/python3/dist-packages/httpretty/core.py:438: AttributeError