Fix support not installed messages during selftest

The extension modules are currently not installed in PIL but sys.path.
This commit is contained in:
Christoph Gohlke 2013-03-14 12:34:56 -07:00
parent fce923f6b7
commit 8b440811b5

View File

@ -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: