Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(4)  |  Call(4)  |  Derive(0)  |  Import(0)
keys([min, max]) -- Return the keys

src/z/o/zope.index-4.0.1/src/zope/index/text/tests/test_setops.py   zope.index(Download)
    def test_scalar_multiply_bucket(self):
        from BTrees.IFBTree import IFBucket
        x = IFBucket([(1, 2), (2, 3), (3, 4)])
        allkeys = list(x.keys())
        for factor in 0, 1, 5, 10:
            result = self._callFUT([(x, factor)])
            self.assertEqual(allkeys, list(result.keys()))
            for key in x.keys():
    def test_scalar_multiply_bucket(self):
        from BTrees.IFBTree import IFBucket
        x = IFBucket([(1, 2), (2, 3), (3, 4)])
        allkeys = list(x.keys())
        for factor in 0, 1, 5, 10:
            result = self._callFUT([(x, factor)])
            self.assertEqual(allkeys, list(result.keys()))
            for key in x.keys():