pull/386/head
Wyatt Stanke 11 months ago
parent 9e00945ad2
commit e40bf50195

@ -6,7 +6,7 @@ from swarms.utils import pdf_to_text
@pytest.fixture
def pdf_file(tmpdir):
pdf_writer = pypdf.PdfWriter()
pdf_page = pypdf.pdf.PageObject.createBlankPage(None, 200, 200)
pdf_page = pypdf.PageObject.create_blank_page(None, 200, 200)
pdf_writer.add_page(pdf_page)
pdf_file = tmpdir.join("temp.pdf")
with open(pdf_file, "wb") as output:

Loading…
Cancel
Save