Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[3.11] gh-102837: more tests for the math module (GH-111930)(GH-102523) (GH-112030)#112041

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
encukou merged 1 commit intopython:3.11fromencukou:backport-c6aea46-3.11
Nov 16, 2023

Conversation

@encukou
Copy link
Member

(Only the test changes fromGH-102523 are cherry-picked)

  • input checks for math_1(L989), math_1a(L1023), math_2(L1064,L1071), hypot(L2682), log(L2307), ldexp(L2168), ceil(L1165), floor(L1236,L1239) and dist(L2587,L2588,L2628).
  • improve fsum coverage for exceptional cases (L1433,L1438,L1451,L1497), ditto fmod(L2378)

(all line numbers are wrt the main branch at5e6661b)

Add tests to improve coverage:

  • fsum: L1369, L1379, L1383, L1412
  • trunc: L2081
  • log: L2267
  • dist: L2577, L2579
  • hypot: L2632
  • (not cherry-picked for 3.11: sumprod)
  • pow: L2982
  • prod: L3294, L3308, L3318-3330

// line numbers wrt to9dc4fb8

(cherry picked from commitc61de45)


Co-authored-by: Sergey B Kirpichevskirpichev@gmail.com
(cherry picked from commitc6aea46)

…)(pythonGH-102523) (pythonGH-112030)*pythongh-102837: improve test coverage for math module (pythonGH-102523)(Only the test changes frompythonGH-102523 are cherry-picked)- input checks for math_1(L989), math_1a(L1023), math_2(L1064,L1071), hypot(L2682), log(L2307), ldexp(L2168), ceil(L1165), floor(L1236,L1239) and dist(L2587,L2588,L2628).- improve fsum coverage for exceptional cases (L1433,L1438,L1451,L1497), ditto fmod(L2378)(all line numbers are wrt the main branch at5e6661b)*pythongh-102837: more tests for the math module (pythonGH-111930)Add tests to improve coverage:* fsum: L1369, L1379, L1383, L1412* trunc: L2081* log: L2267* dist: L2577, L2579* hypot: L2632* (not cherry-picked for 3.11: sumprod)* pow: L2982* prod: L3294, L3308, L3318-3330// line numbers wrt to9dc4fb8(cherry picked from commitc61de45)---------Co-authored-by: Sergey B Kirpichev <skirpichev@gmail.com>(cherry picked from commitc6aea46)
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

skip newstestsTests in the Lib/test dir

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

1 participant

@encukou

[8]ページ先頭

©2009-2025 Movatter.jp