Skip to content

Commit

Permalink
Merge pull request #62 from moinakb001/master
Browse files Browse the repository at this point in the history
Reduce prescision of comparision due to mismatch on Zen3 AVX platforms
  • Loading branch information
anthrotype authored Nov 10, 2022
2 parents 58a37f7 + b2fbd38 commit 703430e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/pathops_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -175,9 +175,9 @@ def test_transform(self):
)
expected.close()

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

def test_pen_addComponent_missing_required_glyphSet(self):
path = Path()
Expand Down

0 comments on commit 703430e

Please sign in to comment.