mirror of
https://github.com/RustPython/RustPython.git
synced 2026-10-29 11:14:38 +08:00
Unskip tests
This commit is contained in:
1 file changed
-4
Vendored
-4
@@ -89,8 +89,6 @@ class GeneralFloatCases(unittest.TestCase):
|
||||
# Check that we handle bytes values correctly.
|
||||
self.assertRaises(ValueError, float, b'0_.\xff9')
|
||||
|
||||
# TODO: RUSTPYTHON
|
||||
@unittest.expectedFailure
|
||||
def test_non_numeric_input_types(self):
|
||||
# Test possible non-numeric types for the argument x, including
|
||||
# subclasses of the explicitly documented accepted types.
|
||||
@@ -120,8 +118,6 @@ class GeneralFloatCases(unittest.TestCase):
|
||||
with self.assertRaisesRegex(ValueError, "could not convert"):
|
||||
float(f(b'A' * 0x10))
|
||||
|
||||
# TODO: RUSTPYTHON
|
||||
@unittest.expectedFailure
|
||||
def test_float_memoryview(self):
|
||||
self.assertEqual(float(memoryview(b'12.3')[1:4]), 2.3)
|
||||
self.assertEqual(float(memoryview(b'12.3\x00')[1:4]), 2.3)
|
||||
|
||||
Reference in new issue
Block a user