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.
This commit is contained in:
Konrad Borowski 2020-02-20 15:00:08 +01:00 committed by Jon
parent e657a87f80
commit 8dd592e3b2

View File

@ -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 = ''