Fix print statements missed by 2to3

This commit is contained in:
cgohlke
2011-10-12 14:09:29 -07:00
parent b381d59c67
commit a609bd6416
@@ -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):