(self)
| 272 | ''', "can't store markobject in the memo") |
| 273 | |
| 274 | def test_get(self): |
| 275 | self.check_dis(b'(Np1\ng1\nh\x01j\x01\x00\x00\x00t.', '''\ |
| 276 | 0: ( MARK |
| 277 | 1: N NONE |
| 278 | 2: p PUT 1 |
| 279 | 5: g GET 1 |
| 280 | 8: h BINGET 1 |
| 281 | 10: j LONG_BINGET 1 |
| 282 | 15: t TUPLE (MARK at 0) |
| 283 | 16: . STOP |
| 284 | highest protocol among opcodes = 1 |
| 285 | ''') |
| 286 | |
| 287 | def test_get_without_put(self): |
| 288 | self.check_dis_error(b'g1\n.', '''\ |