mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-01-26 17:24:31 +03:00
Removed unnecessary lambdas
This commit is contained in:
parent
a69e477605
commit
63ae7fbfe9
|
@ -251,8 +251,8 @@ class TestFileTiff(PillowTestCase):
|
|||
filename = "Tests/images/pil136.tiff"
|
||||
im = Image.open(filename)
|
||||
|
||||
self.assert_warning(DeprecationWarning, lambda: im.tag_v2.as_dict())
|
||||
self.assert_warning(DeprecationWarning, lambda: im.tag.as_dict())
|
||||
self.assert_warning(DeprecationWarning, im.tag_v2.as_dict)
|
||||
self.assert_warning(DeprecationWarning, im.tag.as_dict)
|
||||
|
||||
def test_dict(self):
|
||||
# Arrange
|
||||
|
|
Loading…
Reference in New Issue
Block a user