[issue44734] turtle: tests for Vec2D.__abs__ are too strict

Petr Viktorin report at bugs.python.org
Thu Jan 27 08:30:21 EST 2022


Petr Viktorin <encukou at gmail.com> added the comment:

> The first and last test should use assertAlmostEqual with a suitable tolerance (the default tolerance is probably fine).

The merged PR only added tolerance to the last test. On some architectures, the first test still fails.
(No one is to blame -- this comment should apply to one line but GitHub shows two lines as context: https://github.com/python/cpython/pull/27343#pullrequestreview-714345826 )

Karolina's new PR is waiting for CLA confirmation.

----------
nosy: +petr.viktorin
status: closed -> open

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue44734>
_______________________________________


More information about the Python-bugs-list mailing list