In ```Lib/test/test_math.py```, the testFabs() method tests integers but not infinity (especially negative infinity). ``` def testFabs(self): self.assertRaises(TypeError, math.fabs) self.ftest('fabs(-1)', math.fabs(-1), 1) self.ftest('fabs(0)', math.fabs(0), 0) self.ftest('fabs(1)', math.fabs(1), 1) ``` I have submitted a PR that increases test coverage for fabs(). <!-- gh-linked-prs --> ### Linked PRs * gh-149060 * gh-149061 <!-- /gh-linked-prs -->
In
Lib/test/test_math.py, the testFabs() method tests integers but not infinity (especially negative infinity).I have submitted a PR that increases test coverage for fabs().
Linked PRs