From 8f786501812fb22fa5c75ae5d9e78796ca7ddd0c Mon Sep 17 00:00:00 2001 From: Chester Curme Date: Tue, 17 Sep 2024 17:50:41 -0400 Subject: [PATCH] temporarily raise assertion error to check that tests run --- libs/community/langchain_community/document_loaders/pdf.py | 1 + 1 file changed, 1 insertion(+) diff --git a/libs/community/langchain_community/document_loaders/pdf.py b/libs/community/langchain_community/document_loaders/pdf.py index b01ffea8efcaa..72936b21fa0bb 100644 --- a/libs/community/langchain_community/document_loaders/pdf.py +++ b/libs/community/langchain_community/document_loaders/pdf.py @@ -250,6 +250,7 @@ def lazy_load( self, ) -> Iterator[Document]: """Lazy load given path as pages.""" + raise AssertionError("Testing!") if self.web_path: blob = Blob.from_data(open(self.file_path, "rb").read(), path=self.web_path) # type: ignore[attr-defined] else: