(self)
| 214 | ''', 'no MARK exists on stack') |
| 215 | |
| 216 | def test_put(self): |
| 217 | self.check_dis(b'Np0\nq\x01r\x02\x00\x00\x00\x94.', '''\ |
| 218 | 0: N NONE |
| 219 | 1: p PUT 0 |
| 220 | 4: q BINPUT 1 |
| 221 | 6: r LONG_BINPUT 2 |
| 222 | 11: \\x94 MEMOIZE (as 3) |
| 223 | 12: . STOP |
| 224 | highest protocol among opcodes = 4 |
| 225 | ''') |
| 226 | |
| 227 | def test_put_redefined(self): |
| 228 | self.check_dis(b'Np1\np1\nq\x01r\x01\x00\x00\x00\x94.', '''\ |