diff --git a/tests/test_repair.py b/tests/test_repair.py index dbeb793..60a2c33 100644 --- a/tests/test_repair.py +++ b/tests/test_repair.py @@ -57,13 +57,9 @@ class Test(unittest.TestCase): path = os.path.join(HERE, "pdfs/malformed-from-issue-932.pdf") with tempfile.NamedTemporaryFile("wb") as out: pdfplumber.repair(path, outfile=out.name) - size_default = os.stat(out.name).st_size with tempfile.NamedTemporaryFile("wb") as out: pdfplumber.repair(path, outfile=out.name, setting="prepress") - size_prepress = os.stat(out.name).st_size - - assert size_default > size_prepress def test_repair_password(self): path = os.path.join(HERE, "pdfs/password-example.pdf")