diff --git a/tests/test_writer.py b/tests/test_writer.py index 494fa08cd..08f83dbb4 100644 --- a/tests/test_writer.py +++ b/tests/test_writer.py @@ -1949,6 +1949,7 @@ def _get_parent_bookmark(current_indent, history_indent, bookmarks) -> Any: bookmarks.append(new_bookmark) +pytest.importorskip("fpdf") def test_merging_many_temporary_files(): def create_number_pdf(n) -> BytesIO: from fpdf import FPDF