def test_type_mismatch_resolvable(self):
    resolvable_age = CountingResolvable('//:meaning-of-life', 42.0)
    person = self.Person(resolvable_age)
    with self.assertRaises(TypeConstraintError):
        person.age
def test_type_mismatch_resolvable(self):
    resolvable_age = CountingResolvable('//:meaning-of-life', 42.0)
    person = self.Person(resolvable_age)
    with self.assertRaises(TypeConstraintError):
        person.age