Figured it must be a matplotlib import error #575

New import matplotlib must be missing a package
This commit is contained in:
Alan Saul 2017-11-15 16:30:27 +00:00 committed by GitHub
parent 4d1b8c2866
commit 328f29a6f0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -38,11 +38,11 @@ from nose import SkipTest
try:
import matplotlib
#matplotlib.use('agg')
matplotlib.use('agg')
except ImportError:
# matplotlib not installed
from nose import SkipTest
raise
raise SkipTest("Error importing matplotlib")
from unittest.case import TestCase
@ -70,7 +70,8 @@ try:
from matplotlib.testing.compare import compare_images
from matplotlib.testing.noseclasses import ImageComparisonFailure
except ImportError:
raise SkipTest("Matplotlib not installed, not testing plots")
raise
# raise SkipTest("Matplotlib not installed, not testing plots")
extensions = ['npz']