Did I find the right examples for you? yes no

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

src/e/l/eliot-0.3.0/eliot/tests/test_testing.py   eliot(Download)
        # index 2
        MESSAGE().write(logger)
        logged = LoggedMessage.ofType(logger.messages, MESSAGE)
        self.assertEqual(logged, [LoggedMessage(logger.messages[0]),
                                  LoggedMessage(logger.messages[2])])