Did I find the right examples for you? yes no

All Samples(2)  |  Call(2)  |  Derive(0)  |  Import(0)

src/e/l/eliot-0.3.0/eliot/tests/test_validation.py   eliot(Download)
        """
        field = Field("key", identity, u"")
        field.validate(123)
 
 
                raise ValidationError("too small")
        field = Field("path", identity, u"A path!", validate)
        field.validate(11)