Build failure of font-abattis-cantarell@0.303 due to test fail fontPens.penTools.estimateQuadraticCurveLength

OpenSubmitted by Jacob Hrbek.
Details
2 participants
  • Jacob Hrbek
  • Maxim Cournoyer
Owner
unassigned
Severity
normal
J
J
Jacob Hrbek wrote on 17 Jul 10:31 +0200
Build failure of python-abattis-cantarell@0.303 due to test fail fontPens.penTools.estimateQuadraticCurveLength
(address . bug-guix@gnu.org)
acb84261-3242-e335-6f65-ff570c88ffed@rixotstudio.cz
=================================== 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
To reproduce run: guix build guix build font-abattis-cantarell
Guix commit: 8d7fdbe261e32a63df8c47f06b1a43095b6084c7 (most recent as
the time of the bug)
--
-- Jacob Hrbek #StandWithUkraine
Attachment: file
Attachment: signature.asc
M
M
Maxim Cournoyer wrote on 21 Jul 16:59 +0200
control message for bug #56611
(address . control@debbugs.gnu.org)
87edyeqzo7.fsf@gmail.com
retitle 56611 Build failure of font-abattis-cantarell@0.303 due to test fail fontPens.penTools.estimateQuadraticCurveLength
quit
?