      "        graph.add_edge(2, 1, 6)\n",
      "        graph.add_edge(3, 2, 7)\n",
      "        graph.add_edge(3, 4, 8)\n",
      "\n",
      "        assert_equal(graph.path_exists(nodes[0], nodes[2]), True)\n",
      "        assert_equal(graph.path_exists(nodes[0], nodes[0]), True)\n",
      "        assert_equal(graph.path_exists(nodes[4], nodes[5]), False)\n",
      "\n",
      "        print('Success: test_path_exists')\n",
      "\n",
      "\n",
      "def main():\n",
 
</s>
    "        self.assertEqual(graph.path_exists(nodes[0], nodes[2]), True)\n",
    "        self.assertEqual(graph.path_exists(nodes[0], nodes[0]), True)\n",
    "        self.assertEqual(graph.path_exists(nodes[4], nodes[5]), False)\n",
      "        graph.add_edge(2, 1, 6)\n",
      "        graph.add_edge(3, 2, 7)\n",
      "        graph.add_edge(3, 4, 8)\n",
      "\n",
    "        self.assertEqual(graph.path_exists(nodes[0], nodes[2]), True)\n",
    "        self.assertEqual(graph.path_exists(nodes[0], nodes[0]), True)\n",
    "        self.assertEqual(graph.path_exists(nodes[4], nodes[5]), False)\n",
    "        self.assertEqual(graph.path_exists(nodes[0], nodes[2]), True)\n",
    "        self.assertEqual(graph.path_exists(nodes[0], nodes[0]), True)\n",
    "        self.assertEqual(graph.path_exists(nodes[4], nodes[5]), False)\n",
    "        self.assertEqual(graph.path_exists(nodes[0], nodes[2]), True)\n",
    "        self.assertEqual(graph.path_exists(nodes[0], nodes[0]), True)\n",
    "        self.assertEqual(graph.path_exists(nodes[4], nodes[5]), False)\n",
      "\n",
      "        print('Success: test_path_exists')\n",
      "\n",
      "\n",
      "def main():\n",
keep keep keep keep replace replace replace keep keep keep keep keep
 #273: Remove nose dependency for graphs_trees/ (#277)
graphs_trees/graph_path_exists/path_exists_solution.ipynb