mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-04-25 11:33:42 +03:00
OSError catching in the test as well
This commit is contained in:
parent
6e8c8bf9d4
commit
55ea6c01b1
|
@ -3,7 +3,7 @@ from tester import *
|
||||||
from PIL import Image
|
from PIL import Image
|
||||||
try:
|
try:
|
||||||
from PIL import ImageTk
|
from PIL import ImageTk
|
||||||
except ImportError as v:
|
except (OSError, ImportError) as v:
|
||||||
skip(v)
|
skip(v)
|
||||||
|
|
||||||
success()
|
success()
|
||||||
|
|
Loading…
Reference in New Issue
Block a user