From 8dd592e3b2cdcf232a8d905ba4fc6d499491e10e Mon Sep 17 00:00:00 2001 From: Konrad Borowski Date: Thu, 20 Feb 2020 15:00:08 +0100 Subject: pythonPackages.can: remove pytest-timeout check input pytest-timeout can cause tests to be flaky. It's not necessary to patch the code, as pytest ignores unrecognized marks with an ignorable warning. --- pkgs/development/python-modules/can/default.nix | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'pkgs/development/python-modules/can') diff --git a/pkgs/development/python-modules/can/default.nix b/pkgs/development/python-modules/can/default.nix index b9d2b4b7751a..8aa80a750678 100644 --- a/pkgs/development/python-modules/can/default.nix +++ b/pkgs/development/python-modules/can/default.nix @@ -24,12 +24,7 @@ buildPythonPackage rec { }; propagatedBuildInputs = [ wrapt pyserial aenum ] ++ lib.optional (pythonOlder "3.5") typing; - checkInputs = [ nose mock pytest pytest-timeout hypothesis future ]; - - # Tests won't work with hypothesis 4.7.3 under Python 2. So skip the tests in - # that case. This clause can be removed once hypothesis has been upgraded in - # nixpkgs. - doCheck = !(isPy27 && (hypothesis.version == "4.7.3")); + checkInputs = [ nose mock pytest hypothesis future ]; # Add the scripts to PATH checkPhase = '' -- cgit 1.4.1