-
Notifications
You must be signed in to change notification settings - Fork 8
Open
Description
Hi! We're receiving a sudden influx of reports on the following test failure on GNU/Linux:
=================================== FAILURES ===================================
___________ [doctest] fontPens.penTools.estimateQuadraticCurveLength ___________
155
156 Estimate the length of this curve by iterating
157 through it and averaging the length of the flat bits.
158
159 >>> estimateQuadraticCurveLength((0, 0), (0, 0), (0, 0)) # empty segment
160 0.0
161 >>> estimateQuadraticCurveLength((0, 0), (50, 0), (80, 0)) # collinear points
162 80.0
163 >>> estimateQuadraticCurveLength((0, 0), (50, 20), (100, 40)) # collinear points
Expected:
107.70329614269009
Got:
107.70329614269008
/tmp/guix-build-python-fontpens-0.2.4.drv-0/fontPens-0.2.4/Lib/fontPens/penTools.py:163: DocTestFailure
=============================== warnings summary ===============================
../../../gnu/store/zlg7s86frmvbyf27627h0lgy54lwrkl9-python-fonttools-4.28.5/lib/python3.9/site-packages/fontTools/misc/py23.py:13
/gnu/store/zlg7s86frmvbyf27627h0lgy54lwrkl9-python-fonttools-4.28.5/lib/python3.9/site-packages/fontTools/misc/py23.py:13: DeprecationWarning: The py23 module has been deprecated and will be removed in a future release. Please update your code.
warnings.warn(
-- Docs: https://docs.pytest.org/en/stable/warnings.html
=========================== short test summary info ============================
FAILED Lib/fontPens/penTools.py::fontPens.penTools.estimateQuadraticCurveLength
=================== 1 failed, 20 passed, 1 warning in 0.52s ====================
What's fun is it happens on some machines, and not others, and it's consistent: ‘good’ machines stay good, ‘bad’ machines remain bad.
I can't find any seemingly relevant recent changes. On a whim I tried downgrading the kernel on a ‘bad’ machine from 5.18 to 5.17, but no difference.
Thoughts? Has anybody else seen similar errors?
Metadata
Metadata
Assignees
Labels
No labels