Skip to content

Commit b2fbd38

Browse files
committed
Reduce prescision of comparision due to mismatch on Zen3 AVX platforms
1 parent 58a37f7 commit b2fbd38

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/pathops_test.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -175,9 +175,9 @@ def test_transform(self):
175175
)
176176
expected.close()
177177

178-
# rounding to 4 decimal digit precision, or else for some reasons
179-
# the test fails on linux-aarch64
180-
self.assert_paths_almost_equal(result, expected, ndigits=4)
178+
# rounding to 3 decimal digit precision, or else for some reasons
179+
# the test fails on >4 digits on linux-aarch64 and >3 digits on AVX platforms
180+
self.assert_paths_almost_equal(result, expected, ndigits=3)
181181

182182
def test_pen_addComponent_missing_required_glyphSet(self):
183183
path = Path()

0 commit comments

Comments
 (0)