mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-12-25 17:36:18 +03:00
remove --installed tweaking in selftest.py
This commit is contained in:
parent
1b89747726
commit
7619018257
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue
Block a user