Did I find the right examples for you? yes no Crawl my project Python Jobs
All Samples(1) | Call(1) | Derive(0) | Import(0)
src/b/i/biopython-HEAD/Tests/test_Consensus.py biopython(Download)
def test_count_clades(self): bitstr_counts = Consensus._count_clades(self.trees) self.assertEqual(len(bitstr_counts), 6) self.assertEqual(bitstr_counts[_BitString('11111')][0], 3) self.assertEqual(bitstr_counts[_BitString('11000')][0], 2)