mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-04-26 13:26:22 +02:00
Figured it must be a matplotlib import error #575
New import matplotlib must be missing a package
This commit is contained in:
parent
4d1b8c2866
commit
328f29a6f0
1 changed files with 4 additions and 3 deletions
|
|
@ -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']
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue