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.
commit8dd592e3b2cdcf232a8d905ba4fc6d499491e10e
authorKonrad Borowski <konrad@borowski.pw>
dateThu 20 Feb 2020, 15:00 (7 years ago)
parente657a87
pkgs/development/python-modules/can/default.nix+1−6
@@ -24,12 +24,7 @@ buildPythonPackage rec {
2424 };
2525
2626 propagatedBuildInputs = [ wrapt pyserial aenum ] ++ lib.optional (pythonOlder "3.5") typing;
27− checkInputs = [ nose mock pytest pytest-timeout hypothesis future ];
28−
29− # Tests won't work with hypothesis 4.7.3 under Python 2. So skip the tests in
30− # that case. This clause can be removed once hypothesis has been upgraded in
31− # nixpkgs.
32− doCheck = !(isPy27 && (hypothesis.version == "4.7.3"));
27+ checkInputs = [ nose mock pytest hypothesis future ];
3328
3429 # Add the scripts to PATH
3530 checkPhase = ''