(self)
| 199 | self.assertEqual(out.getvalue(), expected) |
| 200 | |
| 201 | def test_mark(self): |
| 202 | self.check_dis(b'(N(tl.', '''\ |
| 203 | 0: ( MARK |
| 204 | 1: N NONE |
| 205 | 2: ( MARK |
| 206 | 3: t TUPLE (MARK at 2) |
| 207 | 4: l LIST (MARK at 0) |
| 208 | 5: . STOP |
| 209 | highest protocol among opcodes = 0 |
| 210 | ''') |
| 211 | |
| 212 | def test_indentlevel(self): |
| 213 | self.check_dis(b'(N(tl.', '''\ |