Skip to content
Snippets Groups Projects
Commit b98b6122 authored by Peter Scheibel's avatar Peter Scheibel
Browse files

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

imported. Other warnings should be output.
parent c5ed7e2a
No related branches found
No related tags found
No related merge requests found
...@@ -46,7 +46,7 @@ import warnings ...@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment