unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#56611: Build failure of font-abattis-cantarell@0.303 due to test fail fontPens.penTools.estimateQuadraticCurveLength
       [not found] <acb84261-3242-e335-6f65-ff570c88ffed@rixotstudio.cz>
@ 2024-04-03 17:44 ` Maxim Cournoyer
  0 siblings, 0 replies; only message in thread
From: Maxim Cournoyer @ 2024-04-03 17:44 UTC (permalink / raw)
  To: Jacob Hrbek; +Cc: 56611-done

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




^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2024-04-03 17:45 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <acb84261-3242-e335-6f65-ff570c88ffed@rixotstudio.cz>
2024-04-03 17:44 ` bug#56611: Build failure of font-abattis-cantarell@0.303 due to test fail fontPens.penTools.estimateQuadraticCurveLength Maxim Cournoyer

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).