      "collapsed": true
     },
     "outputs": [],
     "source": [
      "%run ../utils/captured_output.py"
     ]
    },
    {
     "cell_type": "code",
     "execution_count": null,
 
</s> remove     "%run ../utils/captured_output.py"
 </s> add     "%run ../utils/results.py" </s> remove     "    # TODO: Implement me"
 </s> add     "    # TODO: Implement me\n",
    "    pass" </s> remove     "from __future__ import print_function\n",
 </s> add  </s> remove     "from __future__ import print_function\n",
 </s> add  </s> remove 
        with captured_output() as (out, err):
            bfs(node, sys.stdout.write)
            assert_equal(out.getvalue().strip(), '52813')
 </s> add         bfs(node, self.results.add_result)
        assert_equal(str(self.results), '[5, 2, 8, 1, 3]')
    "%run ../utils/results.py"
      "collapsed": true
     },
     "outputs": [],
     "source": [
    "%run ../utils/results.py"
     ]
    },
    {
     "cell_type": "code",
     "execution_count": null,
keep keep keep keep replace keep keep keep keep keep
 Reworked tree bfs unit tests. 
graphs_trees/tree_bfs/bfs_challenge.ipynb