mirror of
https://github.com/RustPython/RustPython.git
synced 2026-10-28 18:59:04 +08:00
Merge pull request #4251 from devonhollowood/cleanup
Clean up a few obsolete TODOs in test_math.py
This commit is contained in:
1 file changed
-3
Vendored
-3
@@ -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))
|
||||
|
||||
Reference in new issue
Block a user