Skip to content

Conversation

@skirpichev
Copy link
Contributor

@skirpichev skirpichev commented Sep 13, 2024

One-argument form is enough to test L2636 and compare computed
values exactly.
@skirpichev

This comment was marked as outdated.

@skirpichev skirpichev changed the title gh-124040: simplify two hypot tests gh-124040: adjust few tests in testHypot/testDist to get exactly computed results Sep 13, 2024
@skirpichev
Copy link
Contributor Author

OP confirmed that this solves issue: #124040 (comment)

@skirpichev skirpichev added needs backport to 3.11 only security fixes needs backport to 3.12 only security fixes needs backport to 3.13 bugs and security fixes labels Sep 19, 2024
@skirpichev
Copy link
Contributor Author

Since #102837 is in >=3.11 - backports requested.

@serhiy-storchaka serhiy-storchaka removed the needs backport to 3.11 only security fixes label Sep 19, 2024
@serhiy-storchaka serhiy-storchaka merged commit 4420cf4 into python:main Sep 19, 2024
36 checks passed
@miss-islington-app
Copy link

Thanks @skirpichev for the PR, and @serhiy-storchaka for merging it 🌮🎉.. I'm working now to backport this PR to: 3.12, 3.13.
🐍🍒⛏🤖

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Sep 19, 2024
…y computed results (pythonGH-124042)

(cherry picked from commit 4420cf4)

Co-authored-by: Sergey B Kirpichev <[email protected]>
@bedevere-app
Copy link

bedevere-app bot commented Sep 19, 2024

GH-124235 is a backport of this pull request to the 3.13 branch.

@bedevere-app bedevere-app bot removed the needs backport to 3.13 bugs and security fixes label Sep 19, 2024
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Sep 19, 2024
…y computed results (pythonGH-124042)

(cherry picked from commit 4420cf4)

Co-authored-by: Sergey B Kirpichev <[email protected]>
@bedevere-app
Copy link

bedevere-app bot commented Sep 19, 2024

GH-124236 is a backport of this pull request to the 3.12 branch.

@bedevere-app bedevere-app bot removed the needs backport to 3.12 only security fixes label Sep 19, 2024
@serhiy-storchaka
Copy link
Member

Bad for 3.11, but this is not a security issue.

@skirpichev skirpichev deleted the simplify-hypot-test-124040 branch September 19, 2024 08:12
serhiy-storchaka pushed a commit that referenced this pull request Sep 19, 2024
…ly computed results (GH-124042) (GH-124236)

(cherry picked from commit 4420cf4)

Co-authored-by: Sergey B Kirpichev <[email protected]>
savannahostrowski pushed a commit to savannahostrowski/cpython that referenced this pull request Sep 22, 2024
Yhg1s pushed a commit that referenced this pull request Sep 23, 2024
…ly computed results (GH-124042) (#124235)

gh-124040: Adjust few tests in testHypot/testDist to get exactly computed results (GH-124042)
(cherry picked from commit 4420cf4)

Co-authored-by: Sergey B Kirpichev <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

skip news tests Tests in the Lib/test dir

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants