We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4742854 commit d31be68Copy full SHA for d31be68
lib/spack/spack/test/conftest.py
@@ -442,7 +442,11 @@ def mutable_config(tmpdir_factory, configuration_dir):
442
with use_configuration(cfg):
443
yield cfg
444
445
- spack.config.config.clear_caches()
+ # TODO: this should be done, but it would actually undo the one-time setup
446
+ # that occurs for the configuration_dir fixture and interferes with tests
447
+ # using the 'config' fixture. To allow this, the 'config' fixture needs
448
+ # to be refactored to reassemble the scopes into a config every time.
449
+ # spack.config.config.clear_caches()
450
451
452
@pytest.fixture()
0 commit comments