From 8b440811b589e843fb8b65faf9ebf3346a1777d4 Mon Sep 17 00:00:00 2001 From: Christoph Gohlke Date: Thu, 14 Mar 2013 12:34:56 -0700 Subject: [PATCH] Fix `support not installed` messages during selftest The extension modules are currently not installed in PIL but sys.path. --- selftest.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/selftest.py b/selftest.py index 568518144..91a14bb54 100644 --- a/selftest.py +++ b/selftest.py @@ -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: