pnuckowski/aioresponses

StreamReader missing argument in aiohttp > 3.6.2

Closed this issue · 2 comments

Hello, thanks for awesome library, but there is bug when aiohttp > 3.6.2

    def stream_reader_factory(  # noqa
        loop: 'Optional[asyncio.AbstractEventLoop]' = None
    ):
        protocol = ResponseHandler(loop=loop)
>       return StreamReader(protocol, loop=loop)
E       TypeError: __init__() missing 1 required positional argument: 'limit'

.tox/pytest/lib/python3.9/site-packages/aioresponses/compat.py:48: TypeError

Duplicate of #173 ?

Fixed in 0.7.1