From 3daa2c4216a2c13c39e5f7d1cefb704f85300f65 Mon Sep 17 00:00:00 2001 From: Ivan Lakovic Date: Thu, 20 Oct 2022 23:00:36 +0100 Subject: [PATCH] Remove unused monkeypatch parameter --- tests/test_connector.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_connector.py b/tests/test_connector.py index 16a00936554..ee734acb32c 100644 --- a/tests/test_connector.py +++ b/tests/test_connector.py @@ -2188,7 +2188,7 @@ def test_expired_ttl(self, monkeypatch: pytest.MonkeyPatch) -> None: monkeypatch.setattr("aiohttp.connector.monotonic", lambda: 3) assert dns_cache_table.expired("localhost") - def test_never_expire(self, monkeypatch: pytest.MonkeyPatch) -> None: + def test_never_expire(self) -> None: dns_cache_table = _DNSCacheTable(ttl=None) dns_cache_table.add("localhost", ["127.0.0.1"]) assert not dns_cache_table.expired("localhost")