Skip to content

Commit

Permalink
DEV: Fix benchmark
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinThoma committed Aug 28, 2022
1 parent af9c01b commit 4745984
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/bench.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ def test_page_operations(benchmark):
benchmark(page_ops, "libreoffice-writer-password.pdf", "openpassword")


def merge(tmp_path):
def merge():
pdf_path = RESOURCE_ROOT / "crazyones.pdf"
outline = RESOURCE_ROOT / "pdflatex-outline.pdf"
pdf_forms = RESOURCE_ROOT / "pdflatex-forms.pdf"
Expand Down Expand Up @@ -82,7 +82,7 @@ def merge(tmp_path):
merger.set_page_layout("/SinglePage")
merger.set_page_mode("/UseThumbs")

write_path = tmp_path / "dont_commit_merged.pdf"
write_path = "dont_commit_merged.pdf"
merger.write(write_path)
merger.close()

Expand Down

0 comments on commit 4745984

Please sign in to comment.