(self)
| 68 | |
| 69 | @unittest.expectedFailure # TODO: RUSTPYTHON |
| 70 | def test_keep_buffer(self): |
| 71 | # See bug 14212 |
| 72 | b = bytearray(b'x') |
| 73 | it = re.finditer(b'a', b) |
| 74 | with self.assertRaises(BufferError): |
| 75 | b.extend(b'x'*400) |
| 76 | list(it) |
| 77 | del it |
| 78 | gc_collect() |
| 79 | b.extend(b'x'*400) |
| 80 | |
| 81 | def test_weakref(self): |
| 82 | s = 'QabbbcR' |
nothing calls this directly
no test coverage detected