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:
Jon Dufresne 2019-10-06 10:24:48 -07:00
parent ac563f77ad
commit c50a309a10

View File

@ -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):