Skip to content

Commit 079ba9d

Browse files
manoj-km24miss-islington
authored andcommitted
gh-148868: Increase test coverage for cmath.isinf (GH-148869)
(cherry picked from commit 62792c8) Co-authored-by: Manoj K M <manojkmdev24@gmail.com>
1 parent 86ce2e0 commit 079ba9d

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

Lib/test/test_cmath.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -516,6 +516,7 @@ def test_isinf(self):
516516
self.assertFalse(cmath.isinf(1j))
517517
self.assertFalse(cmath.isinf(NAN))
518518
self.assertTrue(cmath.isinf(INF))
519+
self.assertTrue(cmath.isinf(-INF))
519520
self.assertTrue(cmath.isinf(complex(INF, 0)))
520521
self.assertTrue(cmath.isinf(complex(0, INF)))
521522
self.assertTrue(cmath.isinf(complex(INF, INF)))

0 commit comments

Comments
 (0)