Skip to content

Commit 4110a43

Browse files
committed
fixed black 2
1 parent e263a30 commit 4110a43

File tree

1 file changed

+3
-9
lines changed

1 file changed

+3
-9
lines changed

tests/test_uncompress.py

+3-9
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,8 @@
88
runner = CliRunner()
99

1010

11-
@pytest.mark.parametrize(
12-
"input_pdf_filepath", Path("sample-files").glob("*.pdf")
13-
)
14-
def test_uncompress_all_sample_files(
15-
input_pdf_filepath: Path, tmp_path: Path
16-
) -> None:
11+
@pytest.mark.parametrize("input_pdf_filepath", Path("sample-files").glob("*.pdf"))
12+
def test_uncompress_all_sample_files(input_pdf_filepath: Path, tmp_path: Path) -> None:
1713

1814
output_pdf_filepath = tmp_path / "uncompressed_output.pdf"
1915

@@ -35,6 +31,4 @@ def test_uncompress_all_sample_files(
3531
for page in reader.pages:
3632
contents = page.get("/Contents")
3733
if contents:
38-
assert (
39-
"/Filter" not in contents
40-
), "Content stream is still compressed"
34+
assert "/Filter" not in contents, "Content stream is still compressed"

0 commit comments

Comments
 (0)