File tree 1 file changed +3
-9
lines changed
1 file changed +3
-9
lines changed Original file line number Diff line number Diff line change 8
8
runner = CliRunner ()
9
9
10
10
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 :
17
13
18
14
output_pdf_filepath = tmp_path / "uncompressed_output.pdf"
19
15
@@ -35,6 +31,4 @@ def test_uncompress_all_sample_files(
35
31
for page in reader .pages :
36
32
contents = page .get ("/Contents" )
37
33
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"
You can’t perform that action at this time.
0 commit comments