mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-01-26 09:14:27 +03:00
Fix float precission
This commit is contained in:
parent
e8553e1dae
commit
47f5c9e650
|
@ -37,7 +37,8 @@ class TestFileTiffMetadata(PillowTestCase):
|
|||
|
||||
self.assertEqual(loaded.tag[50838], (len(textdata),))
|
||||
self.assertEqual(loaded.tag[50839], textdata)
|
||||
self.assertAlmostEqual(loaded.tag[tag_ids['RollAngle']][0], floatdata)
|
||||
self.assertAlmostEqual(loaded.tag[tag_ids['RollAngle']][0], floatdata,
|
||||
places=5)
|
||||
self.assertAlmostEqual(loaded.tag[tag_ids['YawAngle']][0], doubledata)
|
||||
|
||||
def test_read_metadata(self):
|
||||
|
|
Loading…
Reference in New Issue
Block a user