Did I find the right examples for you? yes no

All Samples(7)  |  Call(4)  |  Derive(0)  |  Import(3)

src/e/l/eliot-0.3.0/eliot/tests/test_validation.py   eliot(Download)
from unittest import TestCase
 
from .._validation import (
    Field, MessageType, ActionType, ValidationError,
    _MessageSerializer,
        def validate(i):
            if i > 10:
                return
            else:
                raise ValidationError("too small")
        def validate(i):
            if i > 10:
                return
            else:
                raise ValidationError("too small")
        def validate(i):
            if i > 10:
                return
            else:
                raise ValidationError("too small")
        def validate(i):
            if i > 10:
                return
            else:
                raise ValidationError("too small")

src/e/l/eliot-0.3.0/eliot/tests/test_testing.py   eliot(Download)
from .._action import startAction
from .._message import Message
from .._validation import ActionType, MessageType, ValidationError, Field
from .._traceback import writeTraceback
 

src/e/l/eliot-0.3.0/eliot/tests/test_output.py   eliot(Download)
    MemoryLogger, ILogger, Destinations, Logger, json
    )
from .._validation import ValidationError, Field, _MessageSerializer
from .._traceback import writeTraceback
from ..testing import assertContainsFields