diff --git a/tests/e2e/test_client.py b/tests/e2e/test_client.py index 4404674..1ea2705 100644 --- a/tests/e2e/test_client.py +++ b/tests/e2e/test_client.py @@ -661,4 +661,4 @@ async def test_unary_error(test_session: Session) -> None: with pytest.raises(Exception) as ex: await cache.put("a", d) - assert "Could not deserialize" in str(ex.value) + assert ("Could not deserialize" in str(ex.value)) or ("Failed to deserialize" in str(ex.value))