-
-
Notifications
You must be signed in to change notification settings - Fork 30.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
More tests for complexobject.c #109802
Labels
Comments
skirpichev
added a commit
to skirpichev/cpython
that referenced
this issue
Sep 24, 2023
* _Py_c_pow: L134 (this case goes to c_powi() due to L523), L139 // line numbers wrt to 54fbfa8
serhiy-storchaka
pushed a commit
that referenced
this issue
Nov 28, 2023
serhiy-storchaka
pushed a commit
that referenced
this issue
Nov 28, 2023
aisk
pushed a commit
to aisk/cpython
that referenced
this issue
Feb 11, 2024
skirpichev
added a commit
to skirpichev/cpython
that referenced
this issue
Apr 2, 2024
This tests overflow on L594. // line numbers wrt to 0f2fa61
encukou
pushed a commit
that referenced
this issue
Apr 4, 2024
diegorusso
pushed a commit
to diegorusso/cpython
that referenced
this issue
Apr 17, 2024
* pythongh-109802: Add coverage test for complex_abs() This tests overflow on L594. // line numbers wrt to 0f2fa61
Glyphack
pushed a commit
to Glyphack/cpython
that referenced
this issue
Sep 2, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Right now
./python -m test test_complex test_cmath
only partially cover implementation of the complex object. Some code/branches are just inaccessible (e.g. L135-136 ormask <= 0
on L166; line numbers are wrt to 54fbfa8). There are only indirect tests for C-API functions (e.g. PyComplex_RealAsDouble, PyComplex_ImagAsDouble).Linked PRs
The text was updated successfully, but these errors were encountered: