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.
This commit is contained in:
Jon Dufresne 2020-02-17 18:28:41 -08:00
parent 967f46d1d8
commit f72e64b90b

View File

@ -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"],