mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-12-26 01:46:18 +03:00
Remove duplicate cleanup in test_decompression_bomb.py (#4119)
Remove duplicate cleanup in test_decompression_bomb.py
This commit is contained in:
commit
bb4656928c
|
@ -14,7 +14,6 @@ class TestDecompressionBomb(PillowTestCase):
|
||||||
def test_no_warning_small_file(self):
|
def test_no_warning_small_file(self):
|
||||||
# Implicit assert: no warning.
|
# Implicit assert: no warning.
|
||||||
# A warning would cause a failure.
|
# A warning would cause a failure.
|
||||||
Image.MAX_IMAGE_PIXELS = ORIGINAL_LIMIT
|
|
||||||
Image.open(TEST_FILE)
|
Image.open(TEST_FILE)
|
||||||
|
|
||||||
def test_no_warning_no_limit(self):
|
def test_no_warning_no_limit(self):
|
||||||
|
|
Loading…
Reference in New Issue
Block a user