From 7eed92a7ac22d28cb04909a272108fdffbb38ec2 Mon Sep 17 00:00:00 2001 From: Jonathan Ringer Date: Fri, 13 Sep 2019 14:42:08 -0700 Subject: [PATCH] pythonPackage.cli-helpers: disable python2 tests --- .../python-modules/cli-helpers/default.nix | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/pkgs/development/python-modules/cli-helpers/default.nix b/pkgs/development/python-modules/cli-helpers/default.nix index 1c209353f0e3..2ebc6f44b44d 100644 --- a/pkgs/development/python-modules/cli-helpers/default.nix +++ b/pkgs/development/python-modules/cli-helpers/default.nix @@ -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 = ''