(self)
| 175 | self.assertEqual(out.getvalue(), expected) |
| 176 | |
| 177 | def test_mark(self): |
| 178 | self.check_dis(b'(N(tl.', '''\ |
| 179 | 0: ( MARK |
| 180 | 1: N NONE |
| 181 | 2: ( MARK |
| 182 | 3: t TUPLE (MARK at 2) |
| 183 | 4: l LIST (MARK at 0) |
| 184 | 5: . STOP |
| 185 | highest protocol among opcodes = 0 |
| 186 | ''') |
| 187 | |
| 188 | def test_indentlevel(self): |
| 189 | self.check_dis(b'(N(tl.', '''\ |