python2Packages.validators: disable url tests

This commit is contained in:
Jonathan Ringer 2020-06-12 13:31:50 -07:00
parent 38397dc9ea
commit be5804ac9e

View File

@ -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";