From 59339be48fc90a02244663a3a3f5ff8581a3d58d Mon Sep 17 00:00:00 2001 From: Tamara Dahlgren <35777542+tldahlgren@users.noreply.github.com> Date: Wed, 7 May 2025 23:33:56 -0700 Subject: [PATCH] test/cmd/find.py: switch to use mock_packages (#50358) --- lib/spack/spack/test/cmd/find.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/spack/spack/test/cmd/find.py b/lib/spack/spack/test/cmd/find.py index 5c543b15f65..f01ec5666b7 100644 --- a/lib/spack/spack/test/cmd/find.py +++ b/lib/spack/spack/test/cmd/find.py @@ -448,7 +448,7 @@ def test_find_loaded(database, working_env): @pytest.mark.regression("37712") -def test_environment_with_version_range_in_compiler_doesnt_fail(tmp_path): +def test_environment_with_version_range_in_compiler_doesnt_fail(tmp_path, mock_packages): """Tests that having an active environment with a root spec containing a compiler constrained by a version range (i.e. @X.Y rather the single version than @=X.Y) doesn't result in an error when invoking "spack find".