Fix test failure due to new logging from pikepdf

This commit is contained in:
James R. Barlow
2022-09-21 01:00:08 -07:00
parent 36dfd12e2c
commit c2ccc7f29d
+2
View File
@@ -98,6 +98,8 @@ def test_output_tty():
def test_report_file_size(tmp_path, caplog):
logging.getLogger('pikepdf._qpdf').setLevel(logging.CRITICAL) # Suppress logging
in_ = tmp_path / 'a.pdf'
out = tmp_path / 'b.pdf'
pdf = pikepdf.new()