mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 21:50:55 +00:00
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;
|
||||
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 = ''
|
||||
|
|
Loading…
Reference in a new issue