From f72e64b90bc01861240fbbb8f44c0fab020d1400 Mon Sep 17 00:00:00 2001 From: Jon Dufresne Date: Mon, 17 Feb 2020 18:28:41 -0800 Subject: [PATCH] Remove unnecessary setup_module() from test_file_tar.py The test_sanity() already checks the decorder exists and the other tests can run without zlib/jpeg installed. --- Tests/test_file_tar.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/Tests/test_file_tar.py b/Tests/test_file_tar.py index b0e4926b7..f4ca7be44 100644 --- a/Tests/test_file_tar.py +++ b/Tests/test_file_tar.py @@ -9,11 +9,6 @@ codecs = dir(Image.core) TEST_TAR_FILE = "Tests/images/hopper.tar" -def setup_module(): - if "zip_decoder" not in codecs and "jpeg_decoder" not in codecs: - pytest.skip("neither jpeg nor zip support available") - - def test_sanity(): for codec, test_path, format in [ ["zip_decoder", "hopper.png", "PNG"],