Skip to content

Commit 68c28fe

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 9e68f17 commit 68c28fe

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
@@ -514,6 +514,7 @@ def test_isinf(self):
514514
self.assertFalse(cmath.isinf(1j))
515515
self.assertFalse(cmath.isinf(NAN))
516516
self.assertTrue(cmath.isinf(INF))
517+
self.assertTrue(cmath.isinf(-INF))
517518
self.assertTrue(cmath.isinf(complex(INF, 0)))
518519
self.assertTrue(cmath.isinf(complex(0, INF)))
519520
self.assertTrue(cmath.isinf(complex(INF, INF)))

0 commit comments

Comments
 (0)