[Git][reproducible-builds/diffoscope][master] Fix two more tests that appear to require ghostscript > 9.20.

Chris Lamb gitlab at salsa.debian.org
Tue Feb 12 14:21:05 CET 2019


Chris Lamb pushed to branch master at Reproducible Builds / diffoscope


Commits:
a7ad758b by Chris Lamb at 2019-02-12T13:20:28Z
Fix two more tests that appear to require ghostscript > 9.20.

- - - - -


1 changed file:

- tests/comparators/test_ps.py


Changes:

=====================================
tests/comparators/test_ps.py
=====================================
@@ -40,6 +40,7 @@ def test_identification(ps1):
     assert isinstance(ps1, PsFile)
 
 
+ at skip_unless_tool_is_at_least('ps2ascii', ps2ascii_version, '9.21')
 def test_no_differences(ps1):
     difference = ps1.compare(ps1)
     assert difference is None
@@ -63,5 +64,6 @@ def test_text_diff(differences):
 
 
 @skip_unless_tools_exist('ps2ascii')
+ at skip_unless_tool_is_at_least('ps2ascii', ps2ascii_version, '9.21')
 def test_compare_non_existing(monkeypatch, ps1):
     assert_non_existing(monkeypatch, ps1, has_null_source=False)



View it on GitLab: https://salsa.debian.org/reproducible-builds/diffoscope/commit/a7ad758b75a524e52fcd6b46c09d3ca4fa052180

-- 
View it on GitLab: https://salsa.debian.org/reproducible-builds/diffoscope/commit/a7ad758b75a524e52fcd6b46c09d3ca4fa052180
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.reproducible-builds.org/pipermail/rb-commits/attachments/20190212/b942f8bd/attachment.html>


More information about the rb-commits mailing list