      "class TestBstSuccessor(object):\n",
      "\n",
      "    @raises(Exception)\n",
      "    def test_bst_successor_empty(self):\n",
      "        bst_successor(None)\n",
      "\n",
      "    def test_bst_successor(self):\n",
      "        nodes = {}\n",
      "        node = Node(5)\n",
      "        nodes[5] = node\n",
 
</s>
    "        bst_successor = BstSuccessor()\n",
    "        bst_successor.get_next(None)\n",
      "class TestBstSuccessor(object):\n",
      "\n",
      "    @raises(Exception)\n",
      "    def test_bst_successor_empty(self):\n",
    "        bst_successor = BstSuccessor()\n",
    "        bst_successor.get_next(None)\n",
      "\n",
      "    def test_bst_successor(self):\n",
      "        nodes = {}\n",
      "        node = Node(5)\n",
      "        nodes[5] = node\n",
keep keep keep keep replace keep keep keep keep keep
 Move bst successor to a class
graphs_trees/bst_successor/bst_successor_solution.ipynb