pythonPackages.w3lib: disable broken test, switch to pytestCheckHook, cleanup
This commit is contained in:
parent
7738719171
commit
5d14b8fa53
1 changed files with 9 additions and 3 deletions
|
@ -2,7 +2,7 @@
|
|||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, six
|
||||
, pytest
|
||||
, pytestCheckHook
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
|
@ -14,7 +14,14 @@ buildPythonPackage rec {
|
|||
sha256 = "1pv02lvvmgz2qb61vz1jkjc04fgm4hpfvaj5zm4i3mjp64hd1mha";
|
||||
};
|
||||
|
||||
buildInputs = [ six pytest ];
|
||||
propagatedBuildInputs = [ six ];
|
||||
|
||||
checkInputs = [ pytestCheckHook ];
|
||||
pythonImportsCheck = [ "w3lib" ];
|
||||
|
||||
disabledTests = [
|
||||
"test_add_or_replace_parameter"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "A library of web-related functions";
|
||||
|
@ -22,5 +29,4 @@ buildPythonPackage rec {
|
|||
license = licenses.bsd3;
|
||||
maintainers = with maintainers; [ drewkett ];
|
||||
};
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue