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/w/e/Webware-for-Python-1.1.1/MiscUtils/Tests/TestError.py   Webware-for-Python(Download)
    print 'repr:', repr(err)
    assert err.object() is None
    assert err.message() is None
    print
 
    err = Error(test, 'test')
    print 'str: ', err
    print 'repr:', repr(err)
    assert err.object() is test
    assert err.message() == 'test'