From a39e1909c314780a0e5571e2f87bcf65b8958613 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Setla?= Date: Tue, 30 Jan 2024 10:18:33 +0100 Subject: [PATCH] fix test_repr_no_description --- tests/test_client_exceptions.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_client_exceptions.py b/tests/test_client_exceptions.py index 55a8c3cb20f..3fbc7b03776 100644 --- a/tests/test_client_exceptions.py +++ b/tests/test_client_exceptions.py @@ -285,7 +285,7 @@ def test_pickle(self) -> None: def test_repr_no_description(self) -> None: err = client.InvalidURL(url=":wrong:url:") - assert err.description is None + assert err.args == (":wrong:url:",) assert repr(err) == "" def test_repr_yarl_URL(self) -> None: