Skip to content
Snippets Groups Projects
Commit 4a35e554 authored by Chris Lamb's avatar Chris Lamb :eyes:
Browse files

Fix tests when using ghostscript 9.20 vs 9.26 for Debian stable and stable with security enabled.

parent 2d3705f8
No related branches found
No related tags found
No related merge requests found
Pipeline #36222 failed
......@@ -23,7 +23,8 @@ import subprocess
from diffoscope.comparators.ps import PsFile
from ..utils.data import load_fixture, get_data
from ..utils.tools import skip_unless_tools_exist, skip_unless_tool_is_at_most
from ..utils.tools import skip_unless_tools_exist, \
skip_unless_tool_is_at_most, skip_unless_tool_is_at_least
from ..utils.nonexisting import assert_non_existing
......@@ -49,7 +50,7 @@ def differences(ps1, ps2):
return ps1.compare(ps2)
@skip_unless_tools_exist('ps2ascii')
@skip_unless_tool_is_at_least('ps2ascii', ps2ascii_version, '9.21')
def test_internal_diff(differences):
expected_diff = get_data('ps_internal_expected_diff')
assert differences.unified_diff == expected_diff
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment