remove --installed tweaking in selftest.py

This commit is contained in:
wiredfool 2017-12-28 10:39:05 +00:00
parent 1b89747726
commit 7619018257

View File

@ -5,15 +5,9 @@ from __future__ import print_function
import sys import sys
import os import os
if "--installed" in sys.argv:
sys_path_0 = sys.path.pop(0)
from PIL import Image, ImageDraw, ImageFilter, ImageMath from PIL import Image, ImageDraw, ImageFilter, ImageMath
from PIL import features from PIL import features
if "--installed" in sys.argv:
sys.path.insert(0, sys_path_0)
try: try:
Image.core.ping Image.core.ping
except ImportError as v: except ImportError as v: