mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-01-26 17:24:31 +03:00
Relax exact equals to approximate
This commit is contained in:
parent
81ebc21abf
commit
383f713075
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user