mirror of
https://github.com/python/cpython.git
synced 2026-05-10 20:40:44 +00:00
gh-148868: Increase test coverage for cmath.isinf (#148869)
This commit is contained in:
parent
54a8921140
commit
62792c8f77
1 changed files with 1 additions and 0 deletions
|
|
@ -516,6 +516,7 @@ def test_isinf(self):
|
|||
self.assertFalse(cmath.isinf(1j))
|
||||
self.assertFalse(cmath.isinf(NAN))
|
||||
self.assertTrue(cmath.isinf(INF))
|
||||
self.assertTrue(cmath.isinf(-INF))
|
||||
self.assertTrue(cmath.isinf(complex(INF, 0)))
|
||||
self.assertTrue(cmath.isinf(complex(0, INF)))
|
||||
self.assertTrue(cmath.isinf(complex(INF, INF)))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue