summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbin/spack2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/spack b/bin/spack
index b4f715ab60..45be6ee0ff 100755
--- a/bin/spack
+++ b/bin/spack
@@ -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