mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-11-10 19:56:47 +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):
|
||||
try:
|
||||
__import__("PIL." + module)
|
||||
__import__(module)
|
||||
except ImportError:
|
||||
print("***", feature, "support not installed")
|
||||
else:
|
||||
|
|
Loading…
Reference in New Issue
Block a user