mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-12-26 01:46:18 +03:00
Add test case
This commit is contained in:
parent
0a757b7085
commit
1c2b2b085a
|
@ -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