From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Thu, 13 Nov 2025 14:43:46 +0000 (-0500) Subject: Use `_` to hint that the value does not matter X-Git-Tag: rec-5.4.0-alpha1~81^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F16494%2Fhead;p=thirdparty%2Fpdns.git Use `_` to hint that the value does not matter Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- diff --git a/regression-tests.dnsdist/test_OOOR.py b/regression-tests.dnsdist/test_OOOR.py index a554ef19a1..c3486e2479 100644 --- a/regression-tests.dnsdist/test_OOOR.py +++ b/regression-tests.dnsdist/test_OOOR.py @@ -196,7 +196,7 @@ class TestOOORWithClientNotBackend(DNSDistTest): receivedResponses = {} - for name in names: + for _ in names: receivedResponse = self.recvTCPResponseOverConnection(conn) self.assertTrue(receivedResponse) receivedResponses[str(receivedResponse.question[0].name)] = (receivedResponse) @@ -231,7 +231,7 @@ class TestOOORWithClientNotBackend(DNSDistTest): receivedResponses = {} - for name in names: + for _ in names: receivedResponse = self.recvTCPResponseOverConnection(conn) self.assertTrue(receivedResponse) receivedResponses[str(receivedResponse.question[0].name)] = (receivedResponse) @@ -285,7 +285,7 @@ class TestOOORWithClientAndBackend(DNSDistTest): receivedResponses = {} - for name in names: + for _ in names: receivedResponse = self.recvTCPResponseOverConnection(conn) self.assertTrue(receivedResponse) receivedResponses[str(receivedResponse.question[0].name)] = (receivedResponse) @@ -318,7 +318,7 @@ class TestOOORWithClientAndBackend(DNSDistTest): receivedResponses = {} - for name in names: + for _ in names: receivedResponse = self.recvTCPResponseOverConnection(conn) self.assertTrue(receivedResponse) receivedResponses[str(receivedResponse.question[0].name)] = (receivedResponse)