Skip to content

Commit b221f58

Browse files
committed
Unmark unexpected success
1 parent a070bdc commit b221f58

File tree

3 files changed

+0
-8
lines changed

3 files changed

+0
-8
lines changed

Lib/test/test_bytes.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -966,8 +966,6 @@ def test_getitem_error(self):
966966
with self.assertRaisesRegex(TypeError, msg):
967967
b['a']
968968

969-
# TODO: RUSTPYTHON
970-
@unittest.expectedFailure
971969
def test_buffer_is_readonly(self):
972970
fd = os.open(__file__, os.O_RDONLY)
973971
with open(fd, "rb", buffering=0) as f:
@@ -1176,8 +1174,6 @@ def test_setitem_error(self):
11761174
def test_nohash(self):
11771175
self.assertRaises(TypeError, hash, bytearray())
11781176

1179-
# TODO: RUSTPYTHON
1180-
@unittest.expectedFailure
11811177
def test_bytearray_api(self):
11821178
short_sample = b"Hello world\n"
11831179
sample = short_sample + b"\0"*(20 - len(short_sample))

Lib/test/test_memoryview.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -317,8 +317,6 @@ def test_release(self):
317317
m.release()
318318
self._check_released(m, tp)
319319

320-
# TODO: RUSTPYTHON
321-
@unittest.expectedFailure
322320
def test_writable_readonly(self):
323321
# Issue #10451: memoryview incorrectly exposes a readonly
324322
# buffer as writable causing a segfault if using mmap

Lib/test/test_unicode.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2223,8 +2223,6 @@ def test_codecs(self):
22232223
for encoding in ('utf-8',):
22242224
self.assertEqual(str(u.encode(encoding),encoding), u)
22252225

2226-
# TODO: RUSTPYTHON
2227-
@unittest.expectedFailure
22282226
def test_codecs_charmap(self):
22292227
# 0-127
22302228
s = bytes(range(128))

0 commit comments

Comments
 (0)