[issue27763] Add complex case to test_builtin abs()

Sergey B Kirpichev report at bugs.python.org
Thu Apr 22 01:13:45 EDT 2021


Sergey B Kirpichev <skirpichev at gmail.com> added the comment:

> We're testing the cmath functions on complex number inputs

Indeed.  Also, for abs(complex) - there is test_abs() in the test_complex.py.

> The complex number creation from both strings and pairs of floats should be tested independently, of course.

It seems, there are such tests as well.  E.g. test_constructor() in the same file.

Mark, perhaps this can be closed?

----------
nosy: +Sergey.Kirpichev

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


More information about the Python-bugs-list mailing list