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