From a609bd6416a6886edce4564adaf69920c7b9cfca Mon Sep 17 00:00:00 2001 From: cgohlke Date: Wed, 12 Oct 2011 14:09:29 -0700 Subject: [PATCH] Fix print statements missed by 2to3 --- scikits/image/morphology/tests/test_watershed.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scikits/image/morphology/tests/test_watershed.py b/scikits/image/morphology/tests/test_watershed.py index ca7c43bf..6a3b2750 100644 --- a/scikits/image/morphology/tests/test_watershed.py +++ b/scikits/image/morphology/tests/test_watershed.py @@ -388,11 +388,11 @@ class TestWatershed(unittest.TestCase): before = time.clock() out = watershed(image, markers, self.eight) elapsed = time.clock() - before - print "Fast watershed ran a megapixel image in %f seconds"%(elapsed) + print ("Fast watershed ran a megapixel image in %f seconds"%(elapsed)) before = time.clock() out = scipy.ndimage.watershed_ift(image.astype(np.uint16), markers, self.eight) elapsed = time.clock() - before - print "Scipy watershed ran a megapixel image in %f seconds"%(elapsed) + print ("Scipy watershed ran a megapixel image in %f seconds"%(elapsed)) class TestIsLocalMaximum(unittest.TestCase):