mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-01-26 17:24:31 +03:00
Replaced deprecated assert_
This commit is contained in:
parent
4b1784c9ad
commit
2a5447691a
|
@ -390,7 +390,7 @@ class TestRegistry(PillowTestCase):
|
|||
def test_encode_registry(self):
|
||||
|
||||
Image.register_encoder('MOCK', mock_encode)
|
||||
self.assert_('MOCK' in Image.ENCODERS)
|
||||
self.assertIn('MOCK', Image.ENCODERS)
|
||||
|
||||
enc = Image._getencoder('RGB', 'MOCK', ('args',), extra=('extra',))
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user