          node7 = bst.insert(7)
          node6 = bst.insert(6)
          node9 = bst.insert(9)
          result = bst.invert_tree()
          assert_equal(result, root)
          assert_equal(result.left, node7)
          assert_equal(result.right, node2)
          assert_equal(result.left.left, node9)
          assert_equal(result.left.right, node6)
          assert_equal(result.right.left, node3)
          assert_equal(result.right.right, node1)
          print('Success: test_invert_tree')
  
  
  def main():
      test = TestInvertTree()
 
</s> remove     "        assert_equal(result, root)\n",
    "        assert_equal(result.left, node7)\n",
    "        assert_equal(result.right, node2)\n",
    "        assert_equal(result.left.left, node9)\n",
    "        assert_equal(result.left.right, node6)\n",
    "        assert_equal(result.right.left, node3)\n",
    "        assert_equal(result.right.right, node1)\n",
 </s> add     "        self.assertEqual(result, root)\n",
    "        self.assertEqual(result.left, node7)\n",
    "        self.assertEqual(result.right, node2)\n",
    "        self.assertEqual(result.left.left, node9)\n",
    "        self.assertEqual(result.left.right, node6)\n",
    "        self.assertEqual(result.right.left, node3)\n",
    "        self.assertEqual(result.right.right, node1)\n", </s> remove     "        assert_equal(result, root)\n",
    "        assert_equal(result.left, node7)\n",
    "        assert_equal(result.right, node2)\n",
    "        assert_equal(result.left.left, node9)\n",
    "        assert_equal(result.left.right, node6)\n",
    "        assert_equal(result.right.left, node3)\n",
    "        assert_equal(result.right.right, node1)\n",
 </s> add     "        self.assertEqual(result, root)\n",
    "        self.assertEqual(result.left, node7)\n",
    "        self.assertEqual(result.right, node2)\n",
    "        self.assertEqual(result.left.left, node9)\n",
    "        self.assertEqual(result.left.right, node6)\n",
    "        self.assertEqual(result.right.left, node3)\n",
    "        self.assertEqual(result.right.right, node1)\n", </s> remove         assert_equal(bst.find_second_largest(), node7)
 </s> add         self.assertEqual(bst.find_second_largest(), node7) </s> remove         assert_equal(binary_tree.lca(root, node0, node5), None)
        assert_equal(binary_tree.lca(root, node5, node0), None)
        assert_equal(binary_tree.lca(root, node1, node8), node3)
        assert_equal(binary_tree.lca(root, node12, node8), node5)
        assert_equal(binary_tree.lca(root, node12, node40), node10)
        assert_equal(binary_tree.lca(root, node9, node20), node9)
        assert_equal(binary_tree.lca(root, node3, node5), node5)
 </s> add         self.assertEqual(binary_tree.lca(root, node0, node5), None)
        self.assertEqual(binary_tree.lca(root, node5, node0), None)
        self.assertEqual(binary_tree.lca(root, node1, node8), node3)
        self.assertEqual(binary_tree.lca(root, node12, node8), node5)
        self.assertEqual(binary_tree.lca(root, node12, node40), node10)
        self.assertEqual(binary_tree.lca(root, node9, node20), node9)
        self.assertEqual(binary_tree.lca(root, node3, node5), node5) </s> remove         assert_equal(bst.check_balance(), True)
 </s> add         self.assertEqual(bst.check_balance(), True)
        self.assertEqual(result, root)
        self.assertEqual(result.left, node7)
        self.assertEqual(result.right, node2)
        self.assertEqual(result.left.left, node9)
        self.assertEqual(result.left.right, node6)
        self.assertEqual(result.right.left, node3)
        self.assertEqual(result.right.right, node1)
          node7 = bst.insert(7)
          node6 = bst.insert(6)
          node9 = bst.insert(9)
          result = bst.invert_tree()
        self.assertEqual(result, root)
        self.assertEqual(result.left, node7)
        self.assertEqual(result.right, node2)
        self.assertEqual(result.left.left, node9)
        self.assertEqual(result.left.right, node6)
        self.assertEqual(result.right.left, node3)
        self.assertEqual(result.right.right, node1)
        self.assertEqual(result, root)
        self.assertEqual(result.left, node7)
        self.assertEqual(result.right, node2)
        self.assertEqual(result.left.left, node9)
        self.assertEqual(result.left.right, node6)
        self.assertEqual(result.right.left, node3)
        self.assertEqual(result.right.right, node1)
        self.assertEqual(result, root)
        self.assertEqual(result.left, node7)
        self.assertEqual(result.right, node2)
        self.assertEqual(result.left.left, node9)
        self.assertEqual(result.left.right, node6)
        self.assertEqual(result.right.left, node3)
        self.assertEqual(result.right.right, node1)
        self.assertEqual(result, root)
        self.assertEqual(result.left, node7)
        self.assertEqual(result.right, node2)
        self.assertEqual(result.left.left, node9)
        self.assertEqual(result.left.right, node6)
        self.assertEqual(result.right.left, node3)
        self.assertEqual(result.right.right, node1)
        self.assertEqual(result, root)
        self.assertEqual(result.left, node7)
        self.assertEqual(result.right, node2)
        self.assertEqual(result.left.left, node9)
        self.assertEqual(result.left.right, node6)
        self.assertEqual(result.right.left, node3)
        self.assertEqual(result.right.right, node1)
        self.assertEqual(result, root)
        self.assertEqual(result.left, node7)
        self.assertEqual(result.right, node2)
        self.assertEqual(result.left.left, node9)
        self.assertEqual(result.left.right, node6)
        self.assertEqual(result.right.left, node3)
        self.assertEqual(result.right.right, node1)
        self.assertEqual(result, root)
        self.assertEqual(result.left, node7)
        self.assertEqual(result.right, node2)
        self.assertEqual(result.left.left, node9)
        self.assertEqual(result.left.right, node6)
        self.assertEqual(result.right.left, node3)
        self.assertEqual(result.right.right, node1)
          print('Success: test_invert_tree')
  
  
  def main():
      test = TestInvertTree()
keep keep keep keep replace replace replace replace replace replace replace keep keep keep keep keep
 #273: Remove nose dependency for graphs_trees/ (#277) 
graphs_trees/invert_tree/test_invert_tree.py