summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorJonathan Ringer <jonringer117@gmail.com>2020-08-23 10:29:20 -0700
committerJon <jonringer@users.noreply.github.com>2020-08-24 13:55:07 -0700
commitb89ac20dfe7a92a0d50d58f72a99e44ab6fefaf3 (patch)
tree6feaf9b00fa258e02c1f2dc132a8d02b0f93fe34 /pkgs
parentc4ef188cae9a24ee7973be2eac5993244b673967 (diff)
downloadnixpkgs-b89ac20dfe7a92a0d50d58f72a99e44ab6fefaf3.tar
nixpkgs-b89ac20dfe7a92a0d50d58f72a99e44ab6fefaf3.tar.gz
nixpkgs-b89ac20dfe7a92a0d50d58f72a99e44ab6fefaf3.tar.bz2
nixpkgs-b89ac20dfe7a92a0d50d58f72a99e44ab6fefaf3.tar.lz
nixpkgs-b89ac20dfe7a92a0d50d58f72a99e44ab6fefaf3.tar.xz
nixpkgs-b89ac20dfe7a92a0d50d58f72a99e44ab6fefaf3.tar.zst
nixpkgs-b89ac20dfe7a92a0d50d58f72a99e44ab6fefaf3.zip
pythonPackages.urwid: disable tests
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/development/python-modules/urwid/default.nix7
1 files changed, 6 insertions, 1 deletions
diff --git a/pkgs/development/python-modules/urwid/default.nix b/pkgs/development/python-modules/urwid/default.nix
index 6a6cc44d66d..01d9523539c 100644
--- a/pkgs/development/python-modules/urwid/default.nix
+++ b/pkgs/development/python-modules/urwid/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, buildPythonPackage, fetchPypi, glibcLocales }:
+{ stdenv, buildPythonPackage, isPy3k, fetchPypi, glibcLocales }:
 
 buildPythonPackage rec {
   pname = "urwid";
@@ -13,6 +13,11 @@ buildPythonPackage rec {
   LC_ALL = "en_US.UTF-8";
   checkInputs = [ glibcLocales ];
 
+  # tests which assert on strings don't decode results correctly
+  doCheck = isPy3k;
+
+  pythonImportsCheck = [ "urwid" ];
+
   meta = with stdenv.lib; {
     description = "A full-featured console (xterm et al.) user interface library";
     homepage = "http://excess.org/urwid";