Uh oh!
There was an error while loading. Please reload this page.
gh-102837: Increase test coverage for the math module - #110000
gh-102837: Increase test coverage for the math module#110000skirpichev wants to merge 28 commits into
Conversation
* fsum: L1367, L1377, L1381, L1410 // line numbers wrt to 54fbfa8
… nonnegative and PyLong_AsDouble raises only OverflowError.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
serhiy-storchaka
left a comment
There was a problem hiding this comment.
Also, I think that one of changes in your previous PR should be reverted.
skirpichev
commented
Oct 6, 2023
Thanks for a suggestion. I did more efficient rewrite of that part, as discussed in the thread. |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
serhiy-storchaka
commented
Oct 15, 2023
How did you write new tests? They look wildly random to me. |
skirpichev
commented
Oct 15, 2023
I prefer exact results, if possible. Then I try to use arch-independent values (e.g. "big enough" integers to trigger overflows on all platforms. And they should hit mentioned lines. Otherwise, they are random. |
Remove redundant test (python#111416)
encukou
commented
Nov 3, 2023
This PR combines
To make the backporting easier, would it make sense to split the PR along those lines? |
skirpichev
commented
Nov 3, 2023
encukou
commented
Nov 9, 2023
The backporting is a fairly new policy. But, another benefit of splitting this would be that the test additions could be merged right now, without waiting for @mdickinson to comment on the removed code :) Thanks for the typo fix! |
skirpichev
commented
Nov 10, 2023
Uh oh!
There was an error while loading. Please reload this page.
mdickinson
commented
Aug 13, 2024
Please could some kind person remove the request for review for me? |
skirpichev
commented
Oct 25, 2024
@serhiy-storchaka, I'm going to close this (together with the issue) on same ground as #109642. It seems, CPython devs not welcoming now code coverage improvements. |
trunc: drop _PyType_IsReady() check (L2071) like floor/ceilLine numbers are wrt to mathmodule.c at 54fbfa8d5e.
This is a continuation of #102523. There are still some uncovered lines/branches, so issue will not be closed. I can add more commits, but I feel it will be more difficult to review...