From 383f7130758578d14c02fee9b1e2c0b6069e7771 Mon Sep 17 00:00:00 2001 From: Eric Soroos Date: Mon, 29 Sep 2014 16:36:09 -0700 Subject: [PATCH] Relax exact equals to approximate --- Tests/test_file_gimpgradient.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tests/test_file_gimpgradient.py b/Tests/test_file_gimpgradient.py index c64deb79d..c54dca7c1 100644 --- a/Tests/test_file_gimpgradient.py +++ b/Tests/test_file_gimpgradient.py @@ -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