async def test_large_responses(self, r: aioredis.Redis):
        """The PythonParser has some special cases for return values > 1MB"""
        # load up 5MB of data into a key
        data = "".join([ascii_letters] * (5000000 // len(ascii_letters)))
        await r.set("a", data)
        assert await r.get("a") == data.encode()
The PythonParser has some special cases for return values > 1MB
tests/test_commands.py