diff --git a/hsluv.py b/hsluv.py index 30eac00..9c018af 100644 --- a/hsluv.py +++ b/hsluv.py @@ -5,7 +5,7 @@ haxe -cp haxe/src hsluv.Hsluv -python hsluv.py """ -__version__ = '5.0.3' +__version__ = '5.0.4' from functools import wraps as _wraps, partial as _partial # unexport, see #17 import math as _math # unexport, see #17 diff --git a/tests/test_hsluv.py b/tests/test_hsluv.py index eb2244f..17526fe 100644 --- a/tests/test_hsluv.py +++ b/tests/test_hsluv.py @@ -11,7 +11,8 @@ from hsluv import (_hsluv_to_rgb, _hpluv_to_rgb) # no normalized output rgb_range_tolerance = 1e-11 -snapshot_tolerance = 1e-11 +# Note: we had 1e-11 precision before, but lowered it for FreeBSD: https://github.com/hsluv/hsluv/issues/87 +snapshot_tolerance = 1e-10 class TestHsluv(unittest.TestCase):