async def test_connect_invalid_password_supplied(self, r):
        """AuthenticationError should be raised when sending the wrong password"""
        with pytest.raises(aioredis.AuthenticationError):
            await r.execute_command("DEBUG", "ERROR", "ERR invalid password")
AuthenticationError should be raised when sending the wrong password
tests/test_connection_pool.py