mirror of
https://github.com/RustPython/RustPython.git
synced 2026-10-28 18:59:04 +08:00
Unmark passing tests in test_base64
This commit is contained in:
1 file changed
-6
Vendored
-6
@@ -314,8 +314,6 @@ class BaseXYTestCase(unittest.TestCase):
|
||||
self.check_other_types(base64.b32decode, b'MFRGG===', b"abc")
|
||||
self.check_decode_type_errors(base64.b32decode)
|
||||
|
||||
# TODO: RUSTPYTHON
|
||||
@unittest.expectedFailure
|
||||
def test_b32decode_casefold(self):
|
||||
eq = self.assertEqual
|
||||
tests = {b'': b'',
|
||||
@@ -357,8 +355,6 @@ class BaseXYTestCase(unittest.TestCase):
|
||||
self.assertRaises(binascii.Error, base64.b32decode, data)
|
||||
self.assertRaises(binascii.Error, base64.b32decode, data_str)
|
||||
|
||||
# TODO: RUSTPYTHON
|
||||
@unittest.expectedFailure
|
||||
def test_b32decode_error(self):
|
||||
tests = [b'abc', b'ABCDEF==', b'==ABCDEF']
|
||||
prefixes = [b'M', b'ME', b'MFRA', b'MFRGG', b'MFRGGZA', b'MFRGGZDF']
|
||||
@@ -675,8 +671,6 @@ class BaseXYTestCase(unittest.TestCase):
|
||||
for f in decode_funcs:
|
||||
self.assertRaises(ValueError, f, 'with non-ascii \xcb')
|
||||
|
||||
# TODO: RUSTPYTHON
|
||||
@unittest.expectedFailure
|
||||
def test_ErrorHeritage(self):
|
||||
self.assertTrue(issubclass(binascii.Error, ValueError))
|
||||
|
||||
|
||||
Reference in new issue
Block a user