mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-04-28 13:03:43 +03:00
Fixed duplicate import in test_imagecms
This commit is contained in:
parent
128280e5b8
commit
192fa39fb7
|
@ -240,7 +240,6 @@ class TestImageCms(PillowTestCase):
|
||||||
self.assert_image_similar(hopper(), out, 2)
|
self.assert_image_similar(hopper(), out, 2)
|
||||||
|
|
||||||
def test_profile_tobytes(self):
|
def test_profile_tobytes(self):
|
||||||
from io import BytesIO
|
|
||||||
i = Image.open("Tests/images/rgb.jpg")
|
i = Image.open("Tests/images/rgb.jpg")
|
||||||
p = ImageCms.getOpenProfile(BytesIO(i.info["icc_profile"]))
|
p = ImageCms.getOpenProfile(BytesIO(i.info["icc_profile"]))
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user