1
0
mirror of synced 2024-11-22 09:14:23 +01:00

Bump the coverage for pdf

This commit is contained in:
jvoisin 2018-07-07 18:12:33 +02:00
parent 85455a4419
commit 7ea362d908

View File

@ -19,9 +19,9 @@ from . import abstract
logging.basicConfig(level=logging.DEBUG)
poppler_version = Poppler.get_version()
if LooseVersion(poppler_version) < LooseVersion('0.46'):
if LooseVersion(poppler_version) < LooseVersion('0.46'): # pragma: no cover
raise ValueError("MAT2 needs at least Poppler version 0.46 to work. \
The installed version is %s." % poppler_version)
The installed version is %s." % poppler_version) # pragma: no cover
class PDFParser(abstract.AbstractParser):