mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-01-24 00:04:09 +03:00
Remove unnecessary skip test logic
The gif_encoder and gif_decoder are always compiled and included in src/_imaging.c.
This commit is contained in:
parent
2d4b4576aa
commit
967f46d1d8
|
@ -20,8 +20,6 @@ try:
|
|||
except ImportError:
|
||||
HAVE_WEBP = False
|
||||
|
||||
codecs = dir(Image.core)
|
||||
|
||||
# sample gif stream
|
||||
TEST_GIF = "Tests/images/hopper.gif"
|
||||
|
||||
|
@ -30,10 +28,6 @@ with open(TEST_GIF, "rb") as f:
|
|||
|
||||
|
||||
class TestFileGif(PillowTestCase):
|
||||
def setUp(self):
|
||||
if "gif_encoder" not in codecs or "gif_decoder" not in codecs:
|
||||
self.skipTest("gif support not available") # can this happen?
|
||||
|
||||
def test_sanity(self):
|
||||
with Image.open(TEST_GIF) as im:
|
||||
im.load()
|
||||
|
|
Loading…
Reference in New Issue
Block a user