mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-12-27 02:16:19 +03:00
Updated test name and text
This commit is contained in:
parent
0722870564
commit
46f7b4a439
|
@ -85,8 +85,8 @@ def test_only_save_relevant_sizes(tmp_path):
|
||||||
assert im_saved.info["sizes"] == {(16, 16), (24, 24), (32, 32), (48, 48)}
|
assert im_saved.info["sizes"] == {(16, 16), (24, 24), (32, 32), (48, 48)}
|
||||||
|
|
||||||
|
|
||||||
def test_only_save_append_images(tmp_path):
|
def test_save_append_images(tmp_path):
|
||||||
"""append_images should work to provide alternative sizes"""
|
# append_images should be used for scaled down versions of the image
|
||||||
im = hopper("RGBA")
|
im = hopper("RGBA")
|
||||||
provided_im = Image.new("RGBA", (32, 32), (255, 0, 0))
|
provided_im = Image.new("RGBA", (32, 32), (255, 0, 0))
|
||||||
outfile = str(tmp_path / "temp_saved_multi_icon.ico")
|
outfile = str(tmp_path / "temp_saved_multi_icon.ico")
|
||||||
|
|
Loading…
Reference in New Issue
Block a user