Relax exact equals to approximate

This commit is contained in:
Eric Soroos 2014-09-29 16:36:09 -07:00
parent 81ebc21abf
commit 383f713075

View File

@ -80,7 +80,7 @@ class TestImage(PillowTestCase):
ret = GimpGradientFile.sphere_increasing(middle, pos)
# Assert
self.assertEqual(ret, 0.9682458365518543)
self.assert_almost_equal(ret, 0.9682458365518543)
def test_sphere_decreasing(self):
# Arrange