Verified Commit 8c7b0856 authored by Chris Lamb's avatar Chris Lamb 💬 Committed by Mattia Rizzolo

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

Cherry-picked from 4a35e554
parent 948eebeb
......@@ -23,7 +23,8 @@ import subprocess
from import PsFile
from import load_fixture, get_data
from import skip_unless_tools_exist, skip_unless_tool_is_at_most
from 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):
@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
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment