Merge pull request #5162 from radarhere/argument

Corrected argument
This commit is contained in:
Hugo van Kemenade 2020-12-31 16:04:25 +02:00 committed by GitHub
commit 3718c350f9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -11,7 +11,7 @@ ORIGINAL_LIMIT = Image.MAX_IMAGE_PIXELS
class TestDecompressionBomb:
@classmethod
def teardown_class(self):
def teardown_class(cls):
Image.MAX_IMAGE_PIXELS = ORIGINAL_LIMIT
def test_no_warning_small_file(self):