pyocr: Use skip instead of expectedFailure

Since the update of imagemagick in
5e753c1a65 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 <aszlig@redmoonstudios.org>
This commit is contained in:
aszlig 2017-02-07 10:52:18 +01:00
parent cf94e18627
commit 25b61cc897
No known key found for this signature in database
GPG Key ID: 1DE8E48E57DB5436

View File

@ -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
'';