Removed redundant arguments

This commit is contained in:
Andrew Murray 2020-04-02 19:17:54 +11:00
parent e9afb39534
commit 6574552821

View File

@ -629,11 +629,11 @@ class TestFilePng:
with Image.open(test_file) as reloaded: with Image.open(test_file) as reloaded:
assert reloaded.info["exif"] == b"Exif\x00\x00exifstring" assert reloaded.info["exif"] == b"Exif\x00\x00exifstring"
def test_tell(self, tmp_path): def test_tell(self):
with Image.open(TEST_PNG_FILE) as im: with Image.open(TEST_PNG_FILE) as im:
assert im.tell() == 0 assert im.tell() == 0
def test_seek(self, tmp_path): def test_seek(self):
with Image.open(TEST_PNG_FILE) as im: with Image.open(TEST_PNG_FILE) as im:
im.seek(0) im.seek(0)