(self)
| 433 | ''') |
| 434 | |
| 435 | def test_short_binstring(self): |
| 436 | self.check_dis(b"U\x03abc.", '''\ |
| 437 | 0: U SHORT_BINSTRING 'abc' |
| 438 | 5: . STOP |
| 439 | highest protocol among opcodes = 1 |
| 440 | ''') |
| 441 | self.check_dis(b"U\x02\xc3\xb5.", '''\ |
| 442 | 0: U SHORT_BINSTRING '\\xc3\\xb5' |
| 443 | 4: . STOP |
| 444 | highest protocol among opcodes = 1 |
| 445 | ''') |
| 446 | |
| 447 | def test_global(self): |
| 448 | self.check_dis(b"cmodule\nname\n.", '''\ |