Repository navigation
Improve test coverage for the math module #102837
Copy link
Copy link
Closed as not planned
Labels
testsTests in the Lib/test dirTests in the Lib/test dirtype-featureA feature request or enhancementA feature request or enhancement
Description
Activity
- addedtype-featureA feature request or enhancementA feature request or enhancement
on Mar 20, 2023 - added a commit that references this issue
on Mar 20, 2023 @hauntsaninja, wait. As I said in the PR thread - there are still some uncovered lines/branches. I think it's worth to keep this issue open until it's fixed completely.
Ah, missed that since it was early on. Re-opened!
- added a commit that references this issue
on Nov 10, 2023 - added 5 commits that reference this issue
on Nov 13, 2023
Metadata
Metadata
Assignees
Labels
testsTests in the Lib/test dirTests in the Lib/test dirtype-featureA feature request or enhancementA feature request or enhancement
Sometimes input checks are missing (e.g. L989 of math_1 or L1023 of math_1a), sometimes exceptional cases are not tested (e.g. in fsum), some code is just inaccessible (like L3519 in the perm_comb_small() helper). See attached coverage report (for
./python -m test test_math).I believe, everything should be tested (except for memory errors and similar special cases).
lcov-report.zip
Linked PRs