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

  • Done
  • quality assurance status badge
Details
2 participants
  • Jacob Hrbek
  • Maxim Cournoyer
Owner
unassigned
Submitted by
Jacob Hrbek
Severity
normal
J
J
Jacob Hrbek wrote on 17 Jul 2022 10:31
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 2022 16:59
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
M
M
Maxim Cournoyer wrote on 3 Apr 19:44 +0200
Re: bug#56611: Build failure of font-abattis-cantarell@0.303 due to test fail fontPens.penTools.estimateQuadraticCurveLength
(name . Jacob Hrbek)(address . kreyren@rixotstudio.cz)(address . 56611-done@debbugs.gnu.org)
87a5mauyrz.fsf@gmail.com
Hi,

Jacob Hrbek <kreyren@rixotstudio.cz> writes:

Toggle quote (24 lines)
> =================================== 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

The problem was reported by Tobias at
with commit 212ca81895b2baa819ea11a308ad21880b84a546.

Closing.

--
Thanks,
Maxim
Closed
?