Remove ignored config:install_missing_compilers from unit tests (#47357)

This commit is contained in:
Tamara Dahlgren 2024-11-02 01:36:05 -07:00 committed by GitHub
parent 133895e785
commit b8461f3d2d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -644,7 +644,6 @@ def test_prepare_for_install_on_installed(install_mockery, monkeypatch):
def test_installer_init_requests(install_mockery): def test_installer_init_requests(install_mockery):
"""Test of installer initial requests.""" """Test of installer initial requests."""
spec_name = "dependent-install" spec_name = "dependent-install"
with spack.config.override("config:install_missing_compilers", True):
installer = create_installer([spec_name], {}) installer = create_installer([spec_name], {})
# There is only one explicit request in this case # There is only one explicit request in this case
@ -743,7 +742,6 @@ def _missing(*args, **kwargs):
# Set the configuration to ensure _requeue_with_build_spec_tasks actually # Set the configuration to ensure _requeue_with_build_spec_tasks actually
# does something. # does something.
with spack.config.override("config:install_missing_compilers", True):
installer = create_installer(["depb"], {}) installer = create_installer(["depb"], {})
installer._init_queue() installer._init_queue()
request = installer.build_requests[0] request = installer.build_requests[0]