Skip to content

Commit

Permalink
Skip test if fpdf is not available (py-pdf#2408)
Browse files Browse the repository at this point in the history
  • Loading branch information
Scott Kitterman committed Jan 15, 2024
1 parent 5522d87 commit eef8f2c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/test_writer.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit eef8f2c

Please sign in to comment.