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

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

src/p/y/pycogent-HEAD/tests/test_parse/test_ebi.py   pycogent(Download)
#!/usr/bin/env python
""" Provides tests for EbiParser and related classes and functions.
"""
 
from cogent.parse.ebi import cc_alternative_products_parser, \
                ['aa', ['bb','bbb'], 'cc'])
        #test item_modifer
        assertEqual(f('aa (bb) (cc).', '(', item_modifier=rstrip_(') ')),
                ['aa','bb','cc'])
        assertEqual(f('aa (bb)xx (cc).', '(', item_modifier=rstrip_(') ')),

src/c/o/cogent-1.5.3/tests/test_parse/test_ebi.py   cogent(Download)
#!/usr/bin/env python
""" Provides tests for EbiParser and related classes and functions.
"""
 
from cogent.parse.ebi import cc_alternative_products_parser, \
                ['aa', ['bb','bbb'], 'cc'])
        #test item_modifer
        assertEqual(f('aa (bb) (cc).', '(', item_modifier=rstrip_(') ')),
                ['aa','bb','cc'])
        assertEqual(f('aa (bb)xx (cc).', '(', item_modifier=rstrip_(') ')),