mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-01-28 02:04:36 +03:00
Switch check_ to test_ to enable them
This commit is contained in:
parent
a1b9f94d60
commit
cfc4c3e101
|
@ -24,19 +24,19 @@ class TestFeatures(PillowTestCase):
|
||||||
features.check(feature))
|
features.check(feature))
|
||||||
|
|
||||||
@unittest.skipUnless(HAVE_WEBP, "WebP not available")
|
@unittest.skipUnless(HAVE_WEBP, "WebP not available")
|
||||||
def check_webp_transparency(self):
|
def test_webp_transparency(self):
|
||||||
self.assertEqual(features.check('transp_webp'),
|
self.assertEqual(features.check('transp_webp'),
|
||||||
not _webp.WebPDecoderBuggyAlpha())
|
not _webp.WebPDecoderBuggyAlpha())
|
||||||
self.assertEqual(features.check('transp_webp'),
|
self.assertEqual(features.check('transp_webp'),
|
||||||
_webp.HAVE_TRANSPARENCY)
|
_webp.HAVE_TRANSPARENCY)
|
||||||
|
|
||||||
@unittest.skipUnless(HAVE_WEBP, "WebP not available")
|
@unittest.skipUnless(HAVE_WEBP, "WebP not available")
|
||||||
def check_webp_mux(self):
|
def test_webp_mux(self):
|
||||||
self.assertEqual(features.check('webp_mux'),
|
self.assertEqual(features.check('webp_mux'),
|
||||||
_webp.HAVE_WEBPMUX)
|
_webp.HAVE_WEBPMUX)
|
||||||
|
|
||||||
@unittest.skipUnless(HAVE_WEBP, "WebP not available")
|
@unittest.skipUnless(HAVE_WEBP, "WebP not available")
|
||||||
def check_webp_anim(self):
|
def test_webp_anim(self):
|
||||||
self.assertEqual(features.check('webp_anim'),
|
self.assertEqual(features.check('webp_anim'),
|
||||||
_webp.HAVE_WEBPANIM)
|
_webp.HAVE_WEBPANIM)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user