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

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

src/x/o/xodb-HEAD/tests/test_xapian.py   xodb(Download)
    def test_duplicate_prefix_detection(self):
        t = tempfile.mkdtemp()
        xdb = xodb.Database(t)
        xdb.add_boolean_prefix('foo', 'bar')
        xdb.add_prefix('foo', 'bar')