From e40bf50195b25b12f85165fb1f0e66af6112c24c Mon Sep 17 00:00:00 2001 From: Wyatt Stanke Date: Sun, 18 Feb 2024 09:47:28 -0500 Subject: [PATCH] Fix tests --- tests/utils/test_pdf_to_text.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/utils/test_pdf_to_text.py b/tests/utils/test_pdf_to_text.py index 888ed764..704f7449 100644 --- a/tests/utils/test_pdf_to_text.py +++ b/tests/utils/test_pdf_to_text.py @@ -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: