]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
chore: Remove unreachable cleanup
authorJosh Soref <2119212+jsoref@users.noreply.github.com>
Sun, 9 Nov 2025 00:13:20 +0000 (19:13 -0500)
committerJosh Soref <2119212+jsoref@users.noreply.github.com>
Sun, 9 Nov 2025 00:28:15 +0000 (19:28 -0500)
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
contrib/ProtobufLogger.py
regression-tests.auth-py/test_Carbon.py
regression-tests.recursor-dnssec/recursortests.py
regression-tests.recursor-dnssec/test_Carbon.py

index 1fea0a1cf30e9cfca05ec029a019315583fb6ffd..7eab3bce0d87b99127493888f01db0d57ce17f44 100644 (file)
@@ -427,8 +427,6 @@ class PDNSPBListener(object):
             thread.daemon = True
             thread.start()
 
-        self._sock.close()
-
 
 if __name__ == "__main__":
     oturl = None
index 41b53cf67f97d17d9770c03fca69536668f82fce..18d6e23f7cc2455a65b27986dae8383c6a2efd6f 100644 (file)
@@ -58,7 +58,6 @@ class TestCarbon(AuthTest):
                 cls._carbonCounters[threading.currentThread().name] = 1
 
             conn.close()
-        sock.close()
 
     @classmethod
     def startResponders(cls):
index df4c6b222db8ae8251b78abbd7e9fa3041084a4c..18d897fc984daf6c785f55ba6142a19bec5facbe 100644 (file)
@@ -33,7 +33,6 @@ def have_ipv6():
         return True
     except:
         return False
-    return False
 
 
 class RecursorTest(AssertEqualDNSMessageMixin, unittest.TestCase):
index 743145e290e1230cd4b3313028583445e115b2aa..37bb3d4726e266acb78f23f615dee4a8afcec93a 100644 (file)
@@ -58,7 +58,6 @@ class CarbonTest(RecursorTest):
                 cls._carbonCounters[threading.current_thread().name] = 1
 
             conn.close()
-        sock.close()
 
     @classmethod
     def startResponders(cls):