[plotting] still testing the testing

This commit is contained in:
Max Zwiessele 2016-03-31 14:06:23 +01:00
parent 1376113405
commit 0116b03f3c
7 changed files with 32 additions and 28 deletions

View file

@ -28,16 +28,18 @@ from .core.parameterization import Param, Parameterized, ObsAr, transformations
from .__version__ import __version__
from numpy.testing import Tester
#@nottest
try:
#Get rid of nose dependency by only ignoring if you have nose installed
from nose.tools import nottest
@nottest
def tests(verbose=10):
Tester(testing).test(verbose=verbose)
except:
def tests(verbose=10):
Tester(testing).test(verbose=verbose)
with warnings.catch_warnings():
warnings.simplefilter('ignore')
try:
#Get rid of nose dependency by only ignoring if you have nose installed
from nose.tools import nottest
@nottest
def tests(verbose=10):
Tester(testing).test(verbose=verbose)
except:
def tests(verbose=10):
Tester(testing).test(verbose=verbose)
def load(file_or_path):
"""