mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-06-29 09:23:11 +03:00
Fix support not installed
messages during selftest
The extension modules are currently not installed in PIL but sys.path.
This commit is contained in:
parent
fce923f6b7
commit
8b440811b5
|
@ -157,7 +157,7 @@ def testimage():
|
||||||
|
|
||||||
def check_module(feature, module):
|
def check_module(feature, module):
|
||||||
try:
|
try:
|
||||||
__import__("PIL." + module)
|
__import__(module)
|
||||||
except ImportError:
|
except ImportError:
|
||||||
print("***", feature, "support not installed")
|
print("***", feature, "support not installed")
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user