(self)
| 296 | ''', 'memo key 1 has never been stored into') |
| 297 | |
| 298 | def test_memo(self): |
| 299 | memo = {} |
| 300 | self.check_dis(b'Np1\n.', '''\ |
| 301 | 0: N NONE |
| 302 | 1: p PUT 1 |
| 303 | 4: . STOP |
| 304 | highest protocol among opcodes = 0 |
| 305 | ''', memo=memo) |
| 306 | self.check_dis(b'g1\n.', '''\ |
| 307 | 0: g GET 1 |
| 308 | 3: . STOP |
| 309 | highest protocol among opcodes = 0 |
| 310 | ''', memo=memo) |
| 311 | |
| 312 | def test_mark_pop(self): |
| 313 | self.check_dis(b'(N00N.', '''\ |