From c23263abb00aeebcd7218ffcdf28b0bf881c2267 Mon Sep 17 00:00:00 2001 From: Jonathan Ringer Date: Sat, 14 Sep 2019 11:45:38 -0700 Subject: [PATCH] pythonPackages.cheroot: fix tests (cherry picked from commit 9a88d2c8272547a39179a311164dc3a9ad539464) --- pkgs/development/python-modules/cheroot/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/cheroot/default.nix b/pkgs/development/python-modules/cheroot/default.nix index 88f77503b9bd..9b3050942a88 100644 --- a/pkgs/development/python-modules/cheroot/default.nix +++ b/pkgs/development/python-modules/cheroot/default.nix @@ -31,7 +31,7 @@ buildPythonPackage rec { checkPhase = '' substituteInPlace pytest.ini --replace "--doctest-modules" "" --replace "-n auto" "" ${lib.optionalString (pythonAtLeast "3.7") "sed -i '/warnings/,+2d' pytest.ini"} - pytest ${lib.optionalString stdenv.isDarwin "--deselect=cheroot/test/test_ssl.py::test_http_over_https_error --deselect=cheroot/test/test_server.py::test_bind_addr_unix"} + pytest -k 'not tls' ${lib.optionalString stdenv.isDarwin "--deselect=cheroot/test/test_ssl.py::test_http_over_https_error --deselect=cheroot/test/test_server.py::test_bind_addr_unix"} ''; # Some of the tests use localhost networking.