mirror of
https://github.com/RustPython/RustPython.git
synced 2026-10-28 18:59:04 +08:00
Unmark testFloor and testCeil failure
This commit is contained in:
1 parent
9636996c4f
commit
83de5bdf13
1 file changed
-4
@@ -372,8 +372,6 @@ class MathTests(unittest.TestCase):
|
||||
self.assertTrue(math.isnan(math.atan2(NAN, INF)))
|
||||
self.assertTrue(math.isnan(math.atan2(NAN, NAN)))
|
||||
|
||||
# TODO: RUSTPYTHON
|
||||
@unittest.expectedFailure
|
||||
def testCeil(self):
|
||||
self.assertRaises(TypeError, math.ceil)
|
||||
self.assertEqual(int, type(math.ceil(0.5)))
|
||||
@@ -525,8 +523,6 @@ class MathTests(unittest.TestCase):
|
||||
with self.assertWarns(DeprecationWarning):
|
||||
self.assertRaises(OverflowError, math.factorial, 1e100)
|
||||
|
||||
# TODO: RUSTPYTHON
|
||||
@unittest.expectedFailure
|
||||
def testFloor(self):
|
||||
self.assertRaises(TypeError, math.floor)
|
||||
self.assertEqual(int, type(math.floor(0.5)))
|
||||
|
||||
Reference in new issue
Block a user