From c50a309a104325ce397808f3ea761c43cfb8c7f2 Mon Sep 17 00:00:00 2001 From: Jon Dufresne Date: Sun, 6 Oct 2019 10:24:48 -0700 Subject: [PATCH] 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. --- Tests/test_decompression_bomb.py | 1 - 1 file changed, 1 deletion(-) diff --git a/Tests/test_decompression_bomb.py b/Tests/test_decompression_bomb.py index 7c18f85d2..3afad674f 100644 --- a/Tests/test_decompression_bomb.py +++ b/Tests/test_decompression_bomb.py @@ -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):