lingpy.tests.basic package

Submodules

lingpy.tests.basic.test_ops module

Test wordlist module.

class lingpy.tests.basic.test_ops.TestOps(methodName='runTest')

Bases: lingpy.tests.util.WithTempDir

setUp()
test_calculate_data()
test_clean_taxnames()
test_coverage()
test_renumber()
test_tsv2triple()
test_wl2dict()
test_wl2dst()
test_wl2multistate()
test_wl2qlc()

lingpy.tests.basic.test_parser module

class lingpy.tests.basic.test_parser.TestParser(methodName='runTest')

Bases: unittest.case.TestCase

setUp()
test_add_entries()
test_cache()
test_get_entries()
test_getattr()
test_getitem()
test_init()
test_len()

lingpy.tests.basic.test_tree module

class lingpy.tests.basic.test_tree.TestTree(methodName='runTest')

Bases: unittest.case.TestCase

setUp()
test_getDistanceToRoot()
test_get_LCA()
test_get_distance()
lingpy.tests.basic.test_tree.test_random_tree()

lingpy.tests.basic.test_wordlist module

Test wordlist module.

class lingpy.tests.basic.test_wordlist.TestWordlist(methodName='runTest')

Bases: lingpy.tests.util.WithTempDir

setUp()
test___len__()
test_calculate()
test_coverage()
test_export()
test_get_dict()
test_get_entries()
test_get_etymdict()
test_get_list()
test_get_paps()
test_get_wordlist()
test_output()
test_renumber()

lingpy.tests.basic.test_workflow module

class lingpy.tests.basic.test_workflow.TestWorkflow(methodName='runTest')

Bases: lingpy.tests.util.WithTempDir

test_Workflow()

Module contents