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

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

src/f/i/five.taskqueue-0.3.0/src/five/taskqueue/service.py   five.taskqueue(Download)
 
try:
    from BTrees import family32
    MAXINT = family32.maxint
except ImportError:

src/z/3/z3c.taskqueue-0.2.1/src/z3c/taskqueue/service.py   z3c.taskqueue(Download)
from zope.traversing.api import getParents
 
from BTrees import family32
 
from z3c.taskqueue.baseservice import BaseTaskService

src/h/y/hypatia-HEAD/hypatia/facet/tests.py   hypatia(Download)
    def test_ctor_explicit(self):
        from BTrees import family32
        OTHER_FACETS = ['foo', 'foo:bar']
        def _discriminator(obj, default):
            return default

src/h/y/hypatia-HEAD/hypatia/catalog/tests.py   hypatia(Download)
    def test_ctor_explicit_family(self):
        from BTrees import family32
        catalog = self._makeOne(family32)
        self.assertTrue(catalog.family is family32)
 
    def test_with_alternate_family(self):
        from BTrees import family32
        search = self._makeOne(None, family=family32)
        self.assertEqual(search.family, family32)
 

src/r/e/repoze.catalog-0.8.2/repoze/catalog/tests/test_catalog.py   repoze.catalog(Download)
    def test_ctor_defaults(self):
        from BTrees import family32
        catalog = self._makeOne()
        self.failUnless(catalog.family is family32)
 

src/r/e/repoze.catalog-0.8.2/repoze/catalog/indexes/tests/test_facet.py   repoze.catalog(Download)
    def test_ctor_defaults(self):
        from BTrees import family32
        index = self._makeOne()
        self.failUnless(index.discriminator(self, index) is self)
        self.assertEqual(list(index.facets), sorted(FACETS))

src/h/y/hypatia-0.1/hypatia/facet/tests.py   hypatia(Download)
    def test_ctor_explicit(self):
        from BTrees import family32
        OTHER_FACETS = ['foo', 'foo:bar']
        def _discriminator(obj, default):
            return default

src/h/y/hypatia-0.1/hypatia/catalog/tests.py   hypatia(Download)
    def test_ctor_explicit_family(self):
        from BTrees import family32
        catalog = self._makeOne(family32)
        self.assertTrue(catalog.family is family32)
 
    def test_with_alternate_family(self):
        from BTrees import family32
        search = self._makeOne(None, family=family32)
        self.assertEqual(search.family, family32)