Fix test warning/failures, hopefully

This commit is contained in:
James R. Barlow
2017-11-27 13:41:32 -08:00
parent 67aa00e2c5
commit 92ca9e954c
2 changed files with 4 additions and 2 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
pytest >= 3.0
pytest >= 3.2
pytest-helpers-namespace
pytest-xdist
pytest-cov
+3 -1
View File
@@ -65,6 +65,7 @@ def test_quick(spoof_tesseract_cache, resources, outpdf):
check_ocrmypdf(resources / 'ccitt.pdf', outpdf, env=spoof_tesseract_cache)
@pytest.mark.filterwarnings('ignore:Image size')
def test_deskew(spoof_tesseract_noop, resources, outdir):
# Run with deskew
deskewed_pdf = check_ocrmypdf(
@@ -1023,7 +1024,8 @@ def test_bad_locale():
def test_qpdf_negative_zero(resources, outpdf):
negzero = resources / 'negzero.pdf'
hugemono = resources / 'hugemono.pdf'
qpdf.merge([str(negzero), str(hugemono)], outpdf) # raises exception on err
# raises exception on err
qpdf.merge([str(negzero), str(hugemono)], outpdf, log=logging.getLogger())
@pytest.mark.parametrize('max_files,skip', [