mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-01-26 09:14:27 +03:00
Add test case
This commit is contained in:
parent
ca85b0da24
commit
e0b8cebf6e
|
@ -629,6 +629,10 @@ class TestFilePng:
|
|||
with Image.open(test_file) as reloaded:
|
||||
assert reloaded.info["exif"] == b"Exif\x00\x00exifstring"
|
||||
|
||||
def test_seek(self, tmp_path):
|
||||
with Image.open(TEST_PNG_FILE) as im:
|
||||
im.seek(0)
|
||||
|
||||
|
||||
@pytest.mark.skipif(is_win32(), reason="Requires Unix or macOS")
|
||||
@skip_unless_feature("zlib")
|
||||
|
|
Loading…
Reference in New Issue
Block a user