From 4532a56b4e7398bb916a876ed5ed5ec1d495c98e Mon Sep 17 00:00:00 2001 From: Carson Woods Date: Tue, 16 Jul 2019 13:08:09 -0600 Subject: [PATCH] Remove shared disable from unit testing --- lib/spack/spack/test/conftest.py | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/lib/spack/spack/test/conftest.py b/lib/spack/spack/test/conftest.py index 5c5b3f84df7..51ba0966931 100644 --- a/lib/spack/spack/test/conftest.py +++ b/lib/spack/spack/test/conftest.py @@ -38,8 +38,6 @@ from spack.fetch_strategy import FetchError from spack.spec import Spec from spack.version import Version -from spack.main import SpackCommand - # # Disable any activate Spack environment BEFORE all tests @@ -62,16 +60,6 @@ def clean_user_environment(): ev.activate(active) -# -# Turn off Spack's shared mode if need be -# -@pytest.fixture(scope='session', autouse=True) -def disable_shared(): - if spack.config.get('config:shared'): - share = SpackCommand('share') - share('deactivate') - - # Hooks to add command line options or set other custom behaviors. # They must be placed here to be found by pytest. See: #