(self)
| 272 | ''', 'memo key 1 has never been stored into') |
| 273 | |
| 274 | def test_memo(self): |
| 275 | memo = {} |
| 276 | self.check_dis(b'Np1\n.', '''\ |
| 277 | 0: N NONE |
| 278 | 1: p PUT 1 |
| 279 | 4: . STOP |
| 280 | highest protocol among opcodes = 0 |
| 281 | ''', memo=memo) |
| 282 | self.check_dis(b'g1\n.', '''\ |
| 283 | 0: g GET 1 |
| 284 | 3: . STOP |
| 285 | highest protocol among opcodes = 0 |
| 286 | ''', memo=memo) |
| 287 | |
| 288 | def test_mark_pop(self): |
| 289 | self.check_dis(b'(N00N.', '''\ |