mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-01-25 00:34:14 +03:00
Remove duplicate cleanup in test_decompression_bomb.py
The same cleanup is done in the teardDown() method. There is no need to do it a 2nd time.
This commit is contained in:
parent
ac563f77ad
commit
c50a309a10
|
@ -14,7 +14,6 @@ class TestDecompressionBomb(PillowTestCase):
|
|||
def test_no_warning_small_file(self):
|
||||
# Implicit assert: no warning.
|
||||
# A warning would cause a failure.
|
||||
Image.MAX_IMAGE_PIXELS = ORIGINAL_LIMIT
|
||||
Image.open(TEST_FILE)
|
||||
|
||||
def test_no_warning_no_limit(self):
|
||||
|
|
Loading…
Reference in New Issue
Block a user