From eef8f2cd4e3c0ee36ac9bec9a83cb7d35b3bc863 Mon Sep 17 00:00:00 2001 From: Scott Kitterman Date: Mon, 15 Jan 2024 11:11:52 -0500 Subject: [PATCH] Skip test if fpdf is not available (#2408) --- tests/test_writer.py | 1 + 1 file changed, 1 insertion(+) 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