Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)

pythonPackages.cheroot: fix tests

(cherry picked from commit 9a88d2c8272547a39179a311164dc3a9ad539464)

authored by Jonathan Ringer and committed by Robin Gloster c23263ab f19b3ec5

+1 -1
+1 -1
pkgs/development/python-modules/cheroot/default.nix
··· 31 31 checkPhase = '' 32 32 substituteInPlace pytest.ini --replace "--doctest-modules" "" --replace "-n auto" "" 33 33 ${lib.optionalString (pythonAtLeast "3.7") "sed -i '/warnings/,+2d' pytest.ini"} 34 - 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"} 34 + 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"} 35 35 ''; 36 36 37 37 # Some of the tests use localhost networking.