pythonPackages.pytest-timeout: disable flaky test

This commit is contained in:
rnhmjoj 2020-02-21 12:53:08 +01:00
parent 7429153cac
commit c4865b8933
No known key found for this signature in database
GPG Key ID: BFBAF4C975F76450

View File

@ -21,7 +21,10 @@ buildPythonPackage rec {
};
checkInputs = [ pytest pexpect ];
checkPhase = ''pytest -ra'';
checkPhase = ''
# test_suppresses_timeout_when_pdb_is_entered fails under heavy load
pytest -ra -k 'not test_suppresses_timeout_when_pdb_is_entered'
'';
meta = with lib;{
description = "py.test plugin to abort hanging tests";