forked from mirrors/nixpkgs
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:
parent
cf94e18627
commit
25b61cc897
|
@ -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
|
||||
'';
|
||||
|
||||
|
|
Loading…
Reference in a new issue