From fb4050ed37168bb283410ba34a896d96d62c60cf Mon Sep 17 00:00:00 2001 From: Ankit Agrawal Date: Thu, 8 Aug 2013 09:57:01 +0530 Subject: [PATCH] Reverting back to last but one commit --- skimage/feature/tests/test_censure.py | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/skimage/feature/tests/test_censure.py b/skimage/feature/tests/test_censure.py index 3d4e1a1c..deebc9c1 100644 --- a/skimage/feature/tests/test_censure.py +++ b/skimage/feature/tests/test_censure.py @@ -28,8 +28,7 @@ def test_censure_keypoints_moon_image_DoB(): [464, 132], [467, 260]]) expected_scale = np.array([2, 4, 6, 3, 4, 4, 2, 2, 3, 2, 2, 2]) - print actual_kp_DoB - print actual_scale + assert_array_equal(expected_kp_DoB, actual_kp_DoB) assert_array_equal(expected_scale, actual_scale) @@ -45,8 +44,7 @@ def test_censure_keypoints_moon_image_Octagon(): [356, 239], [463, 116]]) expected_scale = np.array([3, 4, 2, 2, 2]) - print actual_kp_Octagon - print actual_scale + assert_array_equal(expected_kp_Octagon, actual_kp_Octagon) assert_array_equal(expected_scale, actual_scale) @@ -67,8 +65,7 @@ def test_censure_keypoints_moon_image_STAR(): [463, 116], [467, 260]]) expected_scale = np.array([3, 3, 6, 2, 3, 2, 3, 5, 2, 2]) - print actual_kp_STAR - print actual_scale + assert_array_equal(expected_kp_STAR, actual_kp_STAR) assert_array_equal(expected_scale, actual_scale)