Did I find the right examples for you? yes no

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

src/a/p/appendonly-1.0.1/appendonly/tests.py   appendonly(Download)
        for i in range(25):
            obj = object()
            source.push(obj)
        copied = klass.fromLayer(source)
        self.assertEqual(copied._max_length, 42)
        OBJ2 = object()
        OBJ3 = object()
        source.push(OBJ1)
        source.push(OBJ2)
        source.push(OBJ3)
    def test_newer_miss(self):
        from appendonly import _Layer
        klass = self._getTargetClass()
        source = _Layer()
        source.push(object())