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

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

src/p/y/pyroonga-0.5.2/pyroonga/tests/unit/odm/test_query.py   pyroonga(Download)
    def test___and__(self, expr, random_string):
        et = (expr & random_string)
        self._test_op(expr, et, random_string, query.Operator.BIT_AND)
 
    def test___or__(self, expr, random_string):
            query.Operator.NOT_EQUAL: ':!',
            query.Operator.BIT_OR: ' OR ',
            query.Operator.BIT_AND: ' + ',
            query.Operator.SUB: ' - ',
        }) is True
            query.Operator.DIFF: ' &! ',
            query.Operator.INVERT: '~',
            query.Operator.BIT_AND: ' & ',
            query.Operator.BIT_OR: ' | ',
            query.Operator.BIT_XOR: ' ^ ',

src/p/y/pyroonga-HEAD/pyroonga/tests/unit/odm/test_query.py   pyroonga(Download)
    def test___and__(self, expr, random_string):
        et = (expr & random_string)
        self._test_op(expr, et, random_string, query.Operator.BIT_AND)
 
    def test___or__(self, expr, random_string):
            query.Operator.NOT_EQUAL: ':!',
            query.Operator.BIT_OR: ' OR ',
            query.Operator.BIT_AND: ' + ',
            query.Operator.SUB: ' - ',
        }) is True
            query.Operator.DIFF: ' &! ',
            query.Operator.INVERT: '~',
            query.Operator.BIT_AND: ' & ',
            query.Operator.BIT_OR: ' | ',
            query.Operator.BIT_XOR: ' ^ ',