Skip to content

Commit

Permalink
python3Packages.dnspython: fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
malob authored and Jonathan Ringer committed Feb 27, 2022
1 parent 39eff5d commit 9239261
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions pkgs/development/python-modules/dnspython/default.nix
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
{ lib
, stdenv
, buildPythonPackage
, fetchPypi
, pythonOlder
, setuptools-scm
, pytestCheckHook
, cacert
}:

buildPythonPackage rec {
Expand All @@ -19,11 +21,15 @@ buildPythonPackage rec {

checkInputs = [
pytestCheckHook
] ++ lib.optional stdenv.isDarwin [
cacert
];

disabledTests = [
# dns.exception.SyntaxError: protocol not found
"test_misc_good_WKS_text"
# fails if IPv6 isn't available
"test_resolver_override"
];

nativeBuildInputs = [
Expand Down

0 comments on commit 9239261

Please sign in to comment.