(self)
| 248 | ''', "can't store markobject in the memo") |
| 249 | |
| 250 | def test_get(self): |
| 251 | self.check_dis(b'(Np1\ng1\nh\x01j\x01\x00\x00\x00t.', '''\ |
| 252 | 0: ( MARK |
| 253 | 1: N NONE |
| 254 | 2: p PUT 1 |
| 255 | 5: g GET 1 |
| 256 | 8: h BINGET 1 |
| 257 | 10: j LONG_BINGET 1 |
| 258 | 15: t TUPLE (MARK at 0) |
| 259 | 16: . STOP |
| 260 | highest protocol among opcodes = 1 |
| 261 | ''') |
| 262 | |
| 263 | def test_get_without_put(self): |
| 264 | self.check_dis_error(b'g1\n.', '''\ |