pythonPackage.cli-helpers: disable python2 tests

This commit is contained in:
Jonathan Ringer 2019-09-13 14:42:08 -07:00 committed by Jon
parent 4e7364abab
commit 7eed92a7ac

View file

@ -1,14 +1,11 @@
{ lib
, buildPythonPackage
, fetchPypi
, configobj
, terminaltables
, tabulate
{ lib, buildPythonPackage, fetchPypi, isPy27
, backports_csv
, wcwidth
, pytest
, configobj
, mock
, isPy27
, pytest
, tabulate
, terminaltables
, wcwidth
}:
buildPythonPackage rec {
@ -27,6 +24,9 @@ buildPythonPackage rec {
wcwidth
] ++ (lib.optionals isPy27 [ backports_csv ]);
# namespace collision between backport.csv and backports.configparser
doCheck = !isPy27;
checkInputs = [ pytest mock ];
checkPhase = ''