Skip to content

gh-109802: Add coverage test for complex_abs() - #117449

Merged
encukou merged 2 commits into
python:mainfrom
skirpichev:complex-abs-tests
Apr 4, 2024
Merged

gh-109802: Add coverage test for complex_abs()#117449
encukou merged 2 commits into
python:mainfrom
skirpichev:complex-abs-tests

Conversation

@skirpichev

@skirpichevskirpichev commented Apr 2, 2024

Copy link
Copy Markdown
Member

This tests overflow on L594.

// line numbers wrt to 0f2fa61


N.B. This factor out last test from #109642. Actually this tested in test_cmath.py, but I think it worth to keep complexobject.c tests in test_complex.py and test_capi/test_complex.py.

This tests overflow on L594.
// line numbers wrt to 0f2fa61
@bedevere-appbedevere-appBot added tests Tests in the Lib/test dir awaiting review labels Apr 2, 2024
@skirpichev

This comment was marked as outdated.

Comment threadLib/test/test_complex.py Outdated
@encukou
encukou enabled auto-merge (squash) April 4, 2024 14:25
@encukou
encukou merged commit 63bbe77 into python:mainApr 4, 2024
@skirpichev
skirpichev deleted the complex-abs-tests branch April 5, 2024 04:11
diegorusso pushed a commit to diegorusso/cpython that referenced this pull request Apr 17, 2024
* pythongh-109802: Add coverage test for complex_abs()
This tests overflow on L594.
// line numbers wrt to 0f2fa61
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

skip newstestsTests in the Lib/test dir

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@skirpichev@encukou@AlexWaygood