From 69b888e53d95c9553ff4593e88b03d89759614b7 Mon Sep 17 00:00:00 2001 From: nopperl <54780682+nopperl@users.noreply.github.com> Date: Mon, 11 Sep 2023 20:35:13 +0000 Subject: [PATCH] remove test parameterization Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com> --- Tests/test_file_eps.py | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/Tests/test_file_eps.py b/Tests/test_file_eps.py index e91bed0de..21c1fd778 100644 --- a/Tests/test_file_eps.py +++ b/Tests/test_file_eps.py @@ -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