From: Brian Wellington Date: Mon, 21 Jul 2025 20:33:05 +0000 (-0700) Subject: Fix broken test. X-Git-Tag: v2.8.0rc1~24 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=42da1179f729ab64a56b9ca88fa7c3c50b32f0f9;p=thirdparty%2Fdnspython.git Fix broken test. With the change in #1209, an empty tuple is no longer invalid when specifying resolvers. It was failing before because it was a tuple, and tuples are now valid (and there are no checks for empty sequences). --- diff --git a/tests/test_resolver.py b/tests/test_resolver.py index e99b6bdf..75290641 100644 --- a/tests/test_resolver.py +++ b/tests/test_resolver.py @@ -1015,7 +1015,6 @@ class ResolverNameserverValidTypeTestCase(unittest.TestCase): "1.2.3.4", 1234, (1, 2, 3, 4), - (), {"invalid": "nameserver"}, ] for invalid_nameserver in invalid_nameservers: