mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-06-02 14:45:15 +02:00
Merge pull request #575 from SheffieldML/matplotlib_testing
Fixing tests for Matplotlib plotting issue
This commit is contained in:
commit
f6542c059c
1 changed files with 1 additions and 2 deletions
|
|
@ -42,7 +42,7 @@ try:
|
|||
except ImportError:
|
||||
# matplotlib not installed
|
||||
from nose import SkipTest
|
||||
raise SkipTest("Skipping Matplotlib testing")
|
||||
raise SkipTest("Error importing matplotlib")
|
||||
|
||||
from unittest.case import TestCase
|
||||
|
||||
|
|
@ -68,7 +68,6 @@ if config.get('plotting', 'library') != 'matplotlib':
|
|||
try:
|
||||
from matplotlib import cbook, pyplot as plt
|
||||
from matplotlib.testing.compare import compare_images
|
||||
from matplotlib.testing.noseclasses import ImageComparisonFailure
|
||||
except ImportError:
|
||||
raise SkipTest("Matplotlib not installed, not testing plots")
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue