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:
parent
c5ed7e2a15
commit
b98b612204
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue