[staging-next] python313Packages.dnspython: don't run tests that connect to internet (#367142)

This commit is contained in:
K900
2024-12-21 20:56:12 +03:00
committed by GitHub
@@ -1,4 +1,5 @@
{
stdenv,
lib,
aioquic,
buildPythonPackage,
@@ -55,6 +56,11 @@ buildPythonPackage rec {
checkInputs = [ cacert ] ++ optional-dependencies.DNSSEC;
# don't run live tests
env = lib.optionalAttrs stdenv.hostPlatform.isDarwin {
NO_INTERNET = 1;
};
disabledTests = [
# dns.exception.SyntaxError: protocol not found
"test_misc_good_WKS_text"