def test_remove_node(self):
        n = self.simple_t._remove_node(-1)
        self.assertEqual(n.parent, None)
        self.assertEqual(len(self.simple_t.children), 1)
        self.assertEqual(len(n.children), 2)
        self.assertNotIn(n, self.simple_t.children)
Extracts files referenced in the main template
dataset/ETHPy150Open biocore/scikit-bio/skbio/tree/tests/test_tree.py/TreeTests.test_remove_node--crossover with--dataset/ETHPy150Open openstack/tosca-parser/toscaparser/prereq/csar.py/CSAR._validate_external_references