(self)
| 409 | ''') |
| 410 | |
| 411 | def test_short_binstring(self): |
| 412 | self.check_dis(b"U\x03abc.", '''\ |
| 413 | 0: U SHORT_BINSTRING 'abc' |
| 414 | 5: . STOP |
| 415 | highest protocol among opcodes = 1 |
| 416 | ''') |
| 417 | self.check_dis(b"U\x02\xc3\xb5.", '''\ |
| 418 | 0: U SHORT_BINSTRING '\\xc3\\xb5' |
| 419 | 4: . STOP |
| 420 | highest protocol among opcodes = 1 |
| 421 | ''') |
| 422 | |
| 423 | def test_global(self): |
| 424 | self.check_dis(b"cmodule\nname\n.", '''\ |