(self)
| 421 | r"""string quote b'"' not found at both ends of b'"abc\\''""") |
| 422 | |
| 423 | def test_binstring(self): |
| 424 | self.check_dis(b"T\x03\x00\x00\x00abc.", '''\ |
| 425 | 0: T BINSTRING 'abc' |
| 426 | 8: . STOP |
| 427 | highest protocol among opcodes = 1 |
| 428 | ''') |
| 429 | self.check_dis(b"T\x02\x00\x00\x00\xc3\xb5.", '''\ |
| 430 | 0: T BINSTRING '\\xc3\\xb5' |
| 431 | 7: . STOP |
| 432 | highest protocol among opcodes = 1 |
| 433 | ''') |
| 434 | |
| 435 | def test_short_binstring(self): |
| 436 | self.check_dis(b"U\x03abc.", '''\ |