From f2d85f0433788758a65cf63777d55a84f82e4523 Mon Sep 17 00:00:00 2001 From: Ben Darwin Date: Thu, 16 Jul 2020 15:24:54 -0400 Subject: [PATCH] python3Packages.pydicom: unbreak package by disabling a test failing due to a string matching issue in an assert --- pkgs/development/python-modules/pydicom/default.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/pydicom/default.nix b/pkgs/development/python-modules/pydicom/default.nix index b875674df61b..e6602ba9da2c 100644 --- a/pkgs/development/python-modules/pydicom/default.nix +++ b/pkgs/development/python-modules/pydicom/default.nix @@ -4,6 +4,7 @@ , isPy27 , pytest , pytestrunner +, pytestCheckHook , numpy , pillow }: @@ -19,7 +20,10 @@ buildPythonPackage rec { }; propagatedBuildInputs = [ numpy pillow ]; - checkInputs = [ pytest pytestrunner ]; + + checkInputs = [ pytest pytestrunner pytestCheckHook ]; + disabledTests = [ "test_invalid_bit_depth_raises" ]; + # harmless failure; see https://github.com/pydicom/pydicom/issues/1119 meta = with stdenv.lib; { homepage = "https://pydicom.github.io";