emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#56611: closed (Build failure of font-abattis-cantarell@0.303 due to


From: GNU bug Tracking System
Subject: bug#56611: closed (Build failure of font-abattis-cantarell@0.303 due to test fail fontPens.penTools.estimateQuadraticCurveLength)
Date: Wed, 03 Apr 2024 17:45:02 +0000

Your message dated Wed, 03 Apr 2024 13:44:16 -0400
with message-id <87a5mauyrz.fsf@gmail.com>
and subject line Re: bug#56611: Build failure of font-abattis-cantarell@0.303 
due to test fail fontPens.penTools.estimateQuadraticCurveLength
has caused the debbugs.gnu.org bug report #56611,
regarding Build failure of font-abattis-cantarell@0.303 due to test fail 
fontPens.penTools.estimateQuadraticCurveLength
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs@gnu.org.)


-- 
56611: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=56611
GNU Bug Tracking System
Contact help-debbugs@gnu.org with problems
--- Begin Message --- Subject: Build failure of python-abattis-cantarell@0.303 due to test fail fontPens.penTools.estimateQuadraticCurveLength Date: Sun, 17 Jul 2022 08:31:03 +0000 =================================== 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: hkbz7643888xv9jsy0fqrk4gw4b0gzdw-python-fontpens-0.2.4.drv.gz
Description: application/gzip

Attachment: publickey - kreyren@rixotstudio.cz - 1677db82.asc
Description: application/pgp-keys

Attachment: signature.asc
Description: OpenPGP digital signature


--- End Message ---
--- Begin Message --- Subject: Re: bug#56611: Build failure of font-abattis-cantarell@0.303 due to test fail fontPens.penTools.estimateQuadraticCurveLength Date: Wed, 03 Apr 2024 13:44:16 -0400 User-agent: Gnus/5.13 (Gnus v5.13)
Hi,

Jacob Hrbek <kreyren@rixotstudio.cz> writes:

> =================================== 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
https://github.com/robotools/fontPens/issues/41 and disabled in Guix
with commit 212ca81895b2baa819ea11a308ad21880b84a546.

Closing.

-- 
Thanks,
Maxim


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]