def test_type_mismatch_resolvable(self):
    resolvable_item = CountingResolvable('//:fine-structure-constant', True)
    varz = self.Varz({'meaning of life': 42, 'fine structure constant': resolvable_item})
    with self.assertRaises(TypeConstraintError):
        varz.varz
def test_type_mismatch_resolvable(self):
    resolvable_item = CountingResolvable('//:fine-structure-constant', True)
    varz = self.Varz({'meaning of life': 42, 'fine structure constant': resolvable_item})
    with self.assertRaises(TypeConstraintError):
        varz.varz