diff --git a/pkgs/development/python-modules/dnspython/default.nix b/pkgs/development/python-modules/dnspython/default.nix index ad58f310636c..5676d270935f 100644 --- a/pkgs/development/python-modules/dnspython/default.nix +++ b/pkgs/development/python-modules/dnspython/default.nix @@ -30,6 +30,14 @@ buildPythonPackage rec { "test_misc_good_WKS_text" # fails if IPv6 isn't available "test_resolver_override" + + # Tests that run inconsistently on darwin systems + ] ++ lib.optionals stdenv.isDarwin [ + # 9 tests fail with: BlockingIOError: [Errno 35] Resource temporarily unavailable + "testQueryUDP" + # 6 tests fail with: dns.resolver.LifetimeTimeout: The resolution lifetime expired after ... + "testResolveCacheHit" + "testResolveTCP" ]; nativeBuildInputs = [