'Make sure normalize can be run twice on the same spec,
and that it is idempotent.'

def test_normalize_twice(self):

    spec = Spec('mpileaks')
    spec.normalize()
    n1 = spec.copy()
    spec.normalize()
    assert (n1 == spec)
