mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-12-24 17:06:16 +03:00
remove test parameterization
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
This commit is contained in:
parent
794a1d7ff2
commit
69b888e53d
|
@ -406,14 +406,10 @@ def test_timeout(test_file):
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
|
||||||
@pytest.mark.parametrize(
|
def test_boundary_box_in_trailer():
|
||||||
("trailer_image_file", "header_image_file"),
|
# Check whether boundary boxes are parsed in the same way
|
||||||
[("Tests/images/zero_bb_trailer.eps", FILE1)],
|
# when specified in the header or the trailer
|
||||||
)
|
with Image.open("Tests/images/zero_bb_trailer.eps") as trailer_image, Image.open(
|
||||||
def test_boundary_box_in_trailer(trailer_image_file, header_image_file):
|
FILE1
|
||||||
# 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
|
|
||||||
) as header_image:
|
) as header_image:
|
||||||
assert trailer_image.size == header_image.size
|
assert trailer_image.size == header_image.size
|
||||||
|
|
Loading…
Reference in New Issue
Block a user