Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
mat2
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
tails
mat2
Commits
7ea362d9
Commit
7ea362d9
authored
6 years ago
by
Julien (jvoisin) Voisin
Browse files
Options
Downloads
Patches
Plain Diff
Bump the coverage for pdf
parent
85455a44
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
libmat2/pdf.py
+2
-2
2 additions, 2 deletions
libmat2/pdf.py
with
2 additions
and
2 deletions
libmat2/pdf.py
+
2
−
2
View file @
7ea362d9
...
@@ -19,9 +19,9 @@ from . import abstract
...
@@ -19,9 +19,9 @@ from . import abstract
logging
.
basicConfig
(
level
=
logging
.
DEBUG
)
logging
.
basicConfig
(
level
=
logging
.
DEBUG
)
poppler_version
=
Poppler
.
get_version
()
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.
\
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
):
class
PDFParser
(
abstract
.
AbstractParser
):
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment