Skip to content

Instantly share code, notes, and snippets.

@dfm
Last active October 3, 2016 17:09
Show Gist options
  • Save dfm/d5d2097332439512bb897f36501746aa to your computer and use it in GitHub Desktop.
Save dfm/d5d2097332439512bb897f36501746aa to your computer and use it in GitHub Desktop.
.......F.........E.F.....
======================================================================
ERROR: test suite for <class 'pygtc.tests.test_plotGTC.test_GTC_priors'>
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/dfm/anaconda/envs/py27/lib/python2.7/site-packages/nose/suite.py", line 209, in run
self.setUp()
File "/Users/dfm/anaconda/envs/py27/lib/python2.7/site-packages/nose/suite.py", line 292, in setUp
self.setupContext(ancestor)
File "/Users/dfm/anaconda/envs/py27/lib/python2.7/site-packages/nose/suite.py", line 315, in setupContext
try_run(context, names)
File "/Users/dfm/anaconda/envs/py27/lib/python2.7/site-packages/nose/util.py", line 471, in try_run
return func()
File "/Users/dfm/anaconda/envs/py27/lib/python2.7/site-packages/matplotlib/testing/decorators.py", line 154, in setup_class
cls._func()
File "/Users/dfm/Desktop/pygtc/pygtc/tests/test_plotGTC.py", line 126, in test_GTC_priors
priors = priors)
File "/Users/dfm/Desktop/pygtc/pygtc/pygtc.py", line 365, in plotGTC
assert haveScipy==True, "You need to have scipy installed to display Gaussian priors"
AssertionError: You need to have scipy installed to display Gaussian priors
======================================================================
FAIL: pygtc.tests.test_plotGTC.test_GTC_filledPlots.test
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/dfm/anaconda/envs/py27/lib/python2.7/site-packages/nose/case.py", line 197, in runTest
self.test(*self.arg)
File "/Users/dfm/anaconda/envs/py27/lib/python2.7/site-packages/matplotlib/testing/decorators.py", line 53, in failer
result = f(*args, **kwargs)
File "/Users/dfm/anaconda/envs/py27/lib/python2.7/site-packages/matplotlib/testing/decorators.py", line 220, in do_test
'(RMS %(rms).3f)'%err)
ImageComparisonFailure: images not close: /Users/dfm/Desktop/pygtc/result_images/test_plotGTC/filledPlots.png vs. /Users/dfm/Desktop/pygtc/result_images/test_plotGTC/filledPlots-expected.png (RMS 14.269)
======================================================================
FAIL: pygtc.tests.test_plotGTC.test_GTC_smoothingKernel.test
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/dfm/anaconda/envs/py27/lib/python2.7/site-packages/nose/case.py", line 197, in runTest
self.test(*self.arg)
File "/Users/dfm/anaconda/envs/py27/lib/python2.7/site-packages/matplotlib/testing/decorators.py", line 53, in failer
result = f(*args, **kwargs)
File "/Users/dfm/anaconda/envs/py27/lib/python2.7/site-packages/matplotlib/testing/decorators.py", line 220, in do_test
'(RMS %(rms).3f)'%err)
ImageComparisonFailure: images not close: /Users/dfm/Desktop/pygtc/result_images/test_plotGTC/smoothingKernel.png vs. /Users/dfm/Desktop/pygtc/result_images/test_plotGTC/smoothingKernel-expected.png (RMS 14.296)
----------------------------------------------------------------------
Ran 24 tests in 45.321s
FAILED (errors=1, failures=2)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment