fix test that held reference to abstract spec
This commit is contained in:
parent
3827ebb592
commit
e995d0543e
@ -688,12 +688,11 @@ def test_str(self) -> None:
|
||||
|
||||
def test_concrete(self, mock_packages, config) -> None:
|
||||
spec = Spec("pkg-a")
|
||||
vm = VariantMap(spec)
|
||||
assert not vm.concrete
|
||||
assert not VariantMap(spec).concrete
|
||||
|
||||
# concrete if associated spec is concrete
|
||||
spec = spack.concretize.concretized(spec)
|
||||
assert vm.concrete
|
||||
assert VariantMap(spec).concrete
|
||||
|
||||
# concrete if all variants are present (even if spec not concrete)
|
||||
spec._mark_concrete(False)
|
||||
|
Loading…
Reference in New Issue
Block a user