Clean up a few obsolete TODOs in test_math.py

It looks like these were accidentally left in the codebase after #2773.
This commit is contained in:
Devon Hollowood
2022-10-26 13:59:00 -07:00
parent 0b08786a04
commit dd5da766ab

View File

@@ -1178,7 +1178,6 @@ class MathTests(unittest.TestCase):
self.assertRaises(ValueError, math.log2, NINF)
self.assertTrue(math.isnan(math.log2(NAN)))
# TODO: RUSTPYTHON
@requires_IEEE_754
# log2() is not accurate enough on Mac OS X Tiger (10.4)
@support.requires_mac_ver(10, 5)
@@ -1562,7 +1561,6 @@ class MathTests(unittest.TestCase):
self.ftest('tanh(-inf)', math.tanh(NINF), -1)
self.assertTrue(math.isnan(math.tanh(NAN)))
# TODO: RUSTPYTHON
@requires_IEEE_754
def testTanhSign(self):
# check that tanh(-0.) == -0. on IEEE 754 systems
@@ -1625,7 +1623,6 @@ class MathTests(unittest.TestCase):
self.assertFalse(math.isinf(0.))
self.assertFalse(math.isinf(1.))
# TODO: RUSTPYTHON
@requires_IEEE_754
def test_nan_constant(self):
self.assertTrue(math.isnan(math.nan))