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/b/i/biopython-1.63/Tests/test_Pathway.py   biopython(Download)
        a.add_edge('b', 'c', 'label3')
        self.assertEqual(a.parent_edges('c'), [('b', 'label3')])  # , "incorrect parent edges")
        l = a.children('b')
        l.sort()
        self.assertEqual(l, ['a', 'c'], "incorrect children")

src/b/i/biopython-HEAD/Tests/test_Pathway.py   biopython(Download)
        a.add_edge('b', 'c', 'label3')
        self.assertEqual(a.parent_edges('c'), [('b', 'label3')])  # , "incorrect parent edges")
        l = a.children('b')
        l.sort()
        self.assertEqual(l, ['a', 'c'], "incorrect children")