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:
parent
e657a87f80
commit
8dd592e3b2
@ -24,12 +24,7 @@ buildPythonPackage rec {
|
|||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [ wrapt pyserial aenum ] ++ lib.optional (pythonOlder "3.5") typing;
|
propagatedBuildInputs = [ wrapt pyserial aenum ] ++ lib.optional (pythonOlder "3.5") typing;
|
||||||
checkInputs = [ nose mock pytest pytest-timeout hypothesis future ];
|
checkInputs = [ nose mock pytest 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"));
|
|
||||||
|
|
||||||
# Add the scripts to PATH
|
# Add the scripts to PATH
|
||||||
checkPhase = ''
|
checkPhase = ''
|
||||||
|
Loading…
Reference in New Issue
Block a user