From 18292772457924f4a9b86cda346843ca04ad61a8 Mon Sep 17 00:00:00 2001 From: Ari Sosnovsky Date: Fri, 30 Oct 2020 16:43:48 -0400 Subject: [PATCH] safer files --- tests/test_document.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_document.py b/tests/test_document.py index 0e3f2ec..ab6ed9d 100644 --- a/tests/test_document.py +++ b/tests/test_document.py @@ -74,7 +74,7 @@ class Catalog(TestCase): def test_all(self): for file_path, buffer in all_pdf_files.items(): - with self.subTest(file_path): + with self.subTest(file_path), buffer.get_window(): parser = PDFParsingContext(buffer) parser.get_catalog() self.assertEqual(len(parser.health_report), 0)