Try to be more careful to only suppress the warning about nose already being

imported. Other warnings should be output.
This commit is contained in:
Peter Scheibel 2015-12-02 18:10:28 -08:00
parent c5ed7e2a15
commit b98b612204

View file

@ -46,7 +46,7 @@ import warnings
# spack. Note this must be done after Spack's external libs directory is added
# to sys.path.
with warnings.catch_warnings():
warnings.simplefilter("ignore")
warnings.filterwarnings("ignore", ".*nose was already imported")
import nose
# Quick and dirty check to clean orphaned .pyc files left over from