mirror of
https://github.com/RustPython/RustPython.git
synced 2026-10-28 18:59:04 +08:00
Mark unexpected failre of new test_bytes tests
This commit is contained in:
1 parent
b5686d01ca
commit
2d3b85b28c
1 file changed
+2
@@ -321,6 +321,8 @@ class BaseBytesTest:
|
||||
# Default encoding is utf-8
|
||||
self.assertEqual(self.type2test(b'\xe2\x98\x83').decode(), '\u2603')
|
||||
|
||||
# TODO: RUSTPYTHON
|
||||
@unittest.expectedFailure
|
||||
def test_check_encoding_errors(self):
|
||||
# bpo-37388: bytes(str) and bytes.encode() must check encoding
|
||||
# and errors arguments in dev mode
|
||||
|
||||
Reference in new issue
Block a user