mirror of
https://github.com/python-pillow/Pillow.git
synced 2026-01-28 02:55:49 +03:00
Check that _EXTENSION_PLUGIN contains all registered extensions
This commit is contained in:
parent
6b9de40533
commit
1baf141146
|
|
@ -466,6 +466,9 @@ class TestImage:
|
|||
# Assert
|
||||
assert Image._initialized == 2
|
||||
|
||||
for extension in Image.EXTENSION:
|
||||
assert extension in Image._EXTENSION_PLUGIN
|
||||
|
||||
def test_registered_extensions(self) -> None:
|
||||
# Arrange
|
||||
# Open an image to trigger plugin registration
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user