diff --git a/PIL/ImageDraw.py b/PIL/ImageDraw.py index 0e9ca832f..fd09e86c3 100644 --- a/PIL/ImageDraw.py +++ b/PIL/ImageDraw.py @@ -329,7 +329,7 @@ def floodfill(image, xy, value, border=None, thresh=0): :param thresh: Optional threshold value which specifies a maximum tolerable difference of a pixel value from the 'background' in order for it to be replaced. Useful for filling regions of non- - homogenous, but similar, colors. + homogeneous, but similar, colors. """ # based on an implementation by Eric S. Raymond pixel = image.load() diff --git a/Tests/test_imagedraw.py b/Tests/test_imagedraw.py index 4f7675312..9c989d2e5 100644 --- a/Tests/test_imagedraw.py +++ b/Tests/test_imagedraw.py @@ -415,7 +415,7 @@ class TestImageDraw(PillowTestCase): im, centre_point, ImageColor.getrgb("red"), thresh=30) del draw - im.save("x.png") + # Assert self.assert_image_equal( im, Image.open("Tests/images/imagedraw_floodfill2.png"))