Removed unnecessary return statements

This commit is contained in:
Andrew Murray 2017-08-31 20:58:50 +10:00
parent 9e843a2d9b
commit 2ac18689d5

View File

@ -416,7 +416,6 @@ class TestImage(PillowTestCase):
# Act / Assert
self.assertRaises(ValueError,
Image.linear_gradient, wrong_mode)
return
def test_linear_gradient(self):
@ -442,7 +441,6 @@ class TestImage(PillowTestCase):
# Act / Assert
self.assertRaises(ValueError,
Image.radial_gradient, wrong_mode)
return
def test_radial_gradient(self):