diff --git a/selftest.py b/selftest.py index 324d23b45..3f358c583 100755 --- a/selftest.py +++ b/selftest.py @@ -5,15 +5,9 @@ from __future__ import print_function import sys import os -if "--installed" in sys.argv: - sys_path_0 = sys.path.pop(0) - from PIL import Image, ImageDraw, ImageFilter, ImageMath from PIL import features -if "--installed" in sys.argv: - sys.path.insert(0, sys_path_0) - try: Image.core.ping except ImportError as v: