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

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

src/p/y/pyroonga-HEAD/pyroonga/tests/unit/odm/test_attributes.py   pyroonga(Download)
    def test___or__with_invalid_param(self, value):
        sym = Symbol('flag5')
        flags = TableFlagsFlag(sym)
        with pytest.raises(TypeError):
            flags.__or__(value)

src/p/y/pyroonga-0.5.2/pyroonga/tests/unit/odm/test_attributes.py   pyroonga(Download)
    def test___or__with_invalid_param(self, value):
        sym = Symbol('flag5')
        flags = TableFlagsFlag(sym)
        with pytest.raises(TypeError):
            flags.__or__(value)