From 25b61cc897ccca0c01fb2c8cb73cd5a283f749d2 Mon Sep 17 00:00:00 2001 From: aszlig Date: Tue, 7 Feb 2017 10:52:18 +0100 Subject: [PATCH] pyocr: Use skip instead of expectedFailure Since the update of imagemagick in 5e753c1a65e106ffaeb71ad3fa66a13b2dfaf5d5 there are certain test cases which now unexpectly succeed and in turn cause the whole build to fail. So in order to prevent this from happening let's skip those tests properly instead of running them and expect them to fail. Tested by building pythonPackages.pyocr on x86_64-linux. Signed-off-by: aszlig --- pkgs/top-level/python-packages.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index c74885d6012..84971210b6c 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -20657,7 +20657,7 @@ in { for test in $disabledTests; do file="''${test%%:*}" fun="''${test#*:}" - echo "$fun = unittest.expectedFailure($fun)" >> "tests/tests_$file.py" + echo "$fun = unittest.skip($fun)" >> "tests/tests_$file.py" done '';