pypdf icon indicating copy to clipboard operation
pypdf copied to clipboard

TST: simplify test_get_images

Open tibor-reiss opened this issue 1 month ago • 4 comments

Fixes #2428

Imho, the test does too many things. Thus, instead of replacing with e.g. txt_file_path fixture, I removed things:

  • write to file: The written file is never used. What was the reason to add it here in this test? -> Update: added back with tmp_path
  • TypeError: does not seem to fit into this test -> Update: new test in test_page.py

tibor-reiss avatar May 22 '24 13:05 tibor-reiss