Merge pull request #4514 from radarhere/test_tell

Removed redundant arguments
This commit is contained in:
Hugo van Kemenade 2020-04-02 12:11:39 +03:00 committed by GitHub
commit feb787d25c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -629,11 +629,11 @@ class TestFilePng:
with Image.open(test_file) as reloaded:
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:
assert im.tell() == 0
def test_seek(self, tmp_path):
def test_seek(self):
with Image.open(TEST_PNG_FILE) as im:
im.seek(0)