Update version scripts to support Ghostscript 10.0

This commit is contained in:
James R. Barlow
2022-10-03 21:59:31 -07:00
parent 4e35100978
commit 46d0978a09
3 changed files with 13 additions and 7 deletions
+6
View File
@@ -223,6 +223,12 @@ def test_version_comparison():
need_version='4.1.1',
version_parser=TesseractVersion,
)
vd.check_external_program(
program="gs",
package="ghostscript",
version_checker=lambda: '10.0',
need_version='9.50',
)
with pytest.raises(MissingDependencyError):
vd.check_external_program(
program="tesseract",