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

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

src/x/o/xodb-HEAD/tests/test_memo.py   xodb(Download)
    )
 
from xodb.memo import Memo
from xodb.exc import InvalidTermError
 
def test_long_term():
    m = Memo()
    assert_raises(InvalidTermError, m.add_term, " " * 250)