From f94589c4912bb05f4a87780ed92cafdcdbacb43f Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Fri, 30 Aug 2024 12:11:45 -1000 Subject: [PATCH] lint --- tests/test_url.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_url.py b/tests/test_url.py index 9df5702f3..10c83173f 100644 --- a/tests/test_url.py +++ b/tests/test_url.py @@ -1722,7 +1722,7 @@ def test_join_cpython_urljoin(base, url, expected): def test_join_cpython_urljoin_fail(): with pytest.raises( TypeError, match=r"unsupported operand type\(s\) for \+: 'NoneType' and 'str'" - ) as e: + ): URL("http:///").join(URL("..")) pytest.xfail("Shouldn't raise TypeError on empty host name")