Skip to content

Commit

Permalink
remove test parameterization
Browse files Browse the repository at this point in the history
Co-authored-by: Andrew Murray <[email protected]>
  • Loading branch information
nopperl and radarhere authored Sep 11, 2023
1 parent 794a1d7 commit 69b888e
Showing 1 changed file with 5 additions and 9 deletions.
14 changes: 5 additions & 9 deletions Tests/test_file_eps.py
Original file line number Diff line number Diff line change
Expand Up @@ -406,14 +406,10 @@ def test_timeout(test_file):
pass


@pytest.mark.parametrize(
("trailer_image_file", "header_image_file"),
[("Tests/images/zero_bb_trailer.eps", FILE1)],
)
def test_boundary_box_in_trailer(trailer_image_file, header_image_file):
# Check whether boundary boxes which are specified in the trailer are parsed
# just like boundary boxes specified in the header
with Image.open(trailer_image_file) as trailer_image, Image.open(
header_image_file
def test_boundary_box_in_trailer():
# Check whether boundary boxes are parsed in the same way
# when specified in the header or the trailer
with Image.open("Tests/images/zero_bb_trailer.eps") as trailer_image, Image.open(
FILE1
) as header_image:
assert trailer_image.size == header_image.size

0 comments on commit 69b888e

Please sign in to comment.