def test_parse_PAUP_log(self):
    'parse_PAUP_log extracts branch length info from a PAUP log file'
    BL_dict = parse_PAUP_log(PAUP_log)
    self.assertEqual(len(BL_dict), 40)
    self.assertEqual(BL_dict['1'], ('40', 40))
    self.assertEqual(BL_dict['40'], ('root', 0))
    self.assertEqual(BL_dict['39'], ('40', 57))
    self.assertEqual(BL_dict['2'], ('39', 56))
    self.assertEqual(BL_dict['26'], ('34', 5))
    self.assertEqual(BL_dict['21'], ('40', 45))
parse_PAUP_log extracts branch length info from a PAUP log file
def test_parse_PAUP_log(self):
    
    BL_dict = parse_PAUP_log(PAUP_log)
    self.assertEqual(len(BL_dict), 40)
    self.assertEqual(BL_dict['1'], ('40', 40))
    self.assertEqual(BL_dict['40'], ('root', 0))
    self.assertEqual(BL_dict['39'], ('40', 57))
    self.assertEqual(BL_dict['2'], ('39', 56))
    self.assertEqual(BL_dict['26'], ('34', 5))
    self.assertEqual(BL_dict['21'], ('40', 45))