From 77438319a5dfa8bb058058aefb888e559c43c107 Mon Sep 17 00:00:00 2001 From: Donne Martin Date: Tue, 4 Aug 2015 19:36:05 -0400 Subject: [PATCH] Removed unused import statements, fixed compile error on skeleton challenge code. --- graphs_trees/tree_height/height_challenge.ipynb | 4 ++-- graphs_trees/tree_height/height_solution.ipynb | 1 - graphs_trees/tree_height/test_height.py | 1 - 3 files changed, 2 insertions(+), 4 deletions(-) diff --git a/graphs_trees/tree_height/height_challenge.ipynb b/graphs_trees/tree_height/height_challenge.ipynb index 265ee50..a8a33c4 100644 --- a/graphs_trees/tree_height/height_challenge.ipynb +++ b/graphs_trees/tree_height/height_challenge.ipynb @@ -87,7 +87,8 @@ "outputs": [], "source": [ "def height(node):\n", - " # TODO: Implement me" + " # TODO: Implement me\n", + " pass" ] }, { @@ -113,7 +114,6 @@ "outputs": [], "source": [ "# %load test_height.py\n", - "from __future__ import print_function\n", "from nose.tools import assert_equal\n", "\n", "\n", diff --git a/graphs_trees/tree_height/height_solution.ipynb b/graphs_trees/tree_height/height_solution.ipynb index 64f8fa8..07dc71f 100644 --- a/graphs_trees/tree_height/height_solution.ipynb +++ b/graphs_trees/tree_height/height_solution.ipynb @@ -122,7 +122,6 @@ ], "source": [ "%%writefile test_height.py\n", - "from __future__ import print_function\n", "from nose.tools import assert_equal\n", "\n", "\n", diff --git a/graphs_trees/tree_height/test_height.py b/graphs_trees/tree_height/test_height.py index cb0d3f2..b1f2f68 100644 --- a/graphs_trees/tree_height/test_height.py +++ b/graphs_trees/tree_height/test_height.py @@ -1,4 +1,3 @@ -from __future__ import print_function from nose.tools import assert_equal