'Make sure insufficient versions of MPI are not in providers list when
we ask for some advanced version.'

def test_concretize_with_provides_when(self):

    repo = spack.repo
    assert (not any((s.satisfies('mpich2@:1.0') for s in repo.providers_for('mpi@2.1'))))
    assert (not any((s.satisfies('mpich2@:1.1') for s in repo.providers_for('mpi@2.2'))))
    assert (not any((s.satisfies('mpich@:1') for s in repo.providers_for('mpi@2'))))
    assert (not any((s.satisfies('mpich@:1') for s in repo.providers_for('mpi@3'))))
    assert (not any((s.satisfies('mpich2') for s in repo.providers_for('mpi@3'))))
