about summary refs log tree commit diff
path: root/pkgs/development/python-modules/cli-helpers
diff options
context:
space:
mode:
authorJonathan Ringer <jonringer117@gmail.com>2019-09-13 14:42:08 -0700
committerJon <jonringer@users.noreply.github.com>2019-10-01 22:48:34 -0700
commit7eed92a7ac22d28cb04909a272108fdffbb38ec2 (patch)
tree2bc0425492caae8747960e48dbcb7d34f4731e66 /pkgs/development/python-modules/cli-helpers
parent4e7364abab5443212f33f21846a73d46b63f1990 (diff)
downloadnixlib-7eed92a7ac22d28cb04909a272108fdffbb38ec2.tar
nixlib-7eed92a7ac22d28cb04909a272108fdffbb38ec2.tar.gz
nixlib-7eed92a7ac22d28cb04909a272108fdffbb38ec2.tar.bz2
nixlib-7eed92a7ac22d28cb04909a272108fdffbb38ec2.tar.lz
nixlib-7eed92a7ac22d28cb04909a272108fdffbb38ec2.tar.xz
nixlib-7eed92a7ac22d28cb04909a272108fdffbb38ec2.tar.zst
nixlib-7eed92a7ac22d28cb04909a272108fdffbb38ec2.zip
pythonPackage.cli-helpers: disable python2 tests
Diffstat (limited to 'pkgs/development/python-modules/cli-helpers')
-rw-r--r--pkgs/development/python-modules/cli-helpers/default.nix16
1 files changed, 8 insertions, 8 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
+{ lib, buildPythonPackage, fetchPypi, isPy27
+, backports_csv
 , configobj
-, terminaltables
+, mock
+, pytest
 , tabulate
-, backports_csv
+, terminaltables
 , wcwidth
-, pytest
-, mock
-, isPy27
 }:
 
 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 = ''