From 1f7f23426436cfbb108451d757bcc3214bf6805d Mon Sep 17 00:00:00 2001 From: cgohlke Date: Sat, 25 Feb 2012 20:00:39 -0800 Subject: [PATCH 1/2] Fix invalid Python 3 syntax --- skimage/io/tests/test_freeimage.py | 1 - 1 file changed, 1 deletion(-) diff --git a/skimage/io/tests/test_freeimage.py b/skimage/io/tests/test_freeimage.py index 05ce5258..50fef9ee 100644 --- a/skimage/io/tests/test_freeimage.py +++ b/skimage/io/tests/test_freeimage.py @@ -37,7 +37,6 @@ def test_imread_uint16_big_endian(): class TestSave: def roundtrip(self, dtype, x, suffix): - print dtype, x.shape, suffix f = NamedTemporaryFile(suffix='.'+suffix) fname = f.name f.close() From c2cf8dba347106556920b099251a7d5d00676ee1 Mon Sep 17 00:00:00 2001 From: cgohlke Date: Sat, 25 Feb 2012 20:05:37 -0800 Subject: [PATCH 2/2] Fix invalid Python 3 syntax --- skimage/feature/tests/test_harris.py | 1 - 1 file changed, 1 deletion(-) diff --git a/skimage/feature/tests/test_harris.py b/skimage/feature/tests/test_harris.py index 4715ee25..758bfa5e 100644 --- a/skimage/feature/tests/test_harris.py +++ b/skimage/feature/tests/test_harris.py @@ -26,7 +26,6 @@ def test_squared_dot(): im[4:8, 4:8] = 1 im = img_as_float(im) results = harris(im, min_distance=3) - print results assert (results == np.array([[6, 6]])).all() def test_rotated_lena():