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
@ -46,7 +46,7 @@ import warnings
|
|||||||
# spack. Note this must be done after Spack's external libs directory is added
|
# spack. Note this must be done after Spack's external libs directory is added
|
||||||
# to sys.path.
|
# to sys.path.
|
||||||
with warnings.catch_warnings():
|
with warnings.catch_warnings():
|
||||||
warnings.simplefilter("ignore")
|
warnings.filterwarnings("ignore", ".*nose was already imported")
|
||||||
import nose
|
import nose
|
||||||
|
|
||||||
# Quick and dirty check to clean orphaned .pyc files left over from
|
# Quick and dirty check to clean orphaned .pyc files left over from
|
||||||
|
Loading…
Reference in New Issue
Block a user