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)
self.assertEqual(a.child_edges('a'), [('b', 'label1')]) # , "incorrect child edges") a.add_edge('a', 'b', 'label2') l = sorted(a.child_edges('a')) self.assertEqual(l, [('b', 'label1'), ('b', 'label2')]) # , "incorrect child edges") a.add_edge('b', 'a', 'label2')
src/b/i/biopython-HEAD/Tests/test_Pathway.py biopython(Download)
self.assertEqual(a.child_edges('a'), [('b', 'label1')]) # , "incorrect child edges") a.add_edge('a', 'b', 'label2') l = sorted(a.child_edges('a')) self.assertEqual(l, [('b', 'label1'), ('b', 'label2')]) # , "incorrect child edges") a.add_edge('b', 'a', 'label2')