Merge branch 'issue102' into devel
This commit is contained in:
commit
1df3faf35f
1 changed files with 6 additions and 0 deletions
|
|
@ -29,6 +29,12 @@ NO_READ_BACKEND_MSG += "order to run the tests in this suite."
|
|||
|
||||
try:
|
||||
from matplotlib.pyplot import imread
|
||||
|
||||
# The whole point of trying to import PIL is to determine if it's there
|
||||
# or not. We won't use it directly.
|
||||
# pylint: disable=F0401,W0611
|
||||
import PIL
|
||||
|
||||
NO_READ_BACKEND = False
|
||||
except ImportError:
|
||||
NO_READ_BACKEND = True
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue