python2Packages.validators: disable url tests
This commit is contained in:
parent
38397dc9ea
commit
be5804ac9e
@ -1,9 +1,10 @@
|
|||||||
{ lib
|
{ lib
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, fetchPypi
|
, fetchPypi
|
||||||
|
, isPy27
|
||||||
, six
|
, six
|
||||||
, decorator
|
, decorator
|
||||||
, pytest
|
, pytestCheckHook
|
||||||
, isort
|
, isort
|
||||||
, flake8
|
, flake8
|
||||||
}:
|
}:
|
||||||
@ -23,14 +24,12 @@ buildPythonPackage rec {
|
|||||||
];
|
];
|
||||||
|
|
||||||
checkInputs = [
|
checkInputs = [
|
||||||
pytest
|
pytestCheckHook
|
||||||
flake8
|
flake8
|
||||||
isort
|
isort
|
||||||
];
|
];
|
||||||
|
|
||||||
checkPhase = ''
|
disabledTests = lib.optionals isPy27 [ "url" ];
|
||||||
pytest
|
|
||||||
'';
|
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Python Data Validation for Humans™";
|
description = "Python Data Validation for Humans™";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user