(self)
| 2630 | self.check_output(source, expect, flag) |
| 2631 | |
| 2632 | def test_specialized_code(self): |
| 2633 | # test 'python -m dis -S/--specialized' |
| 2634 | source = 'pass' |
| 2635 | expect = ''' |
| 2636 | 0 RESUME 0 |
| 2637 | |
| 2638 | 1 LOAD_CONST 0 (None) |
| 2639 | RETURN_VALUE |
| 2640 | ''' |
| 2641 | for flag in ['-S', '--specialized']: |
| 2642 | self.check_output(source, expect, flag) |
| 2643 | |
| 2644 | |
| 2645 | if __name__ == "__main__": |
nothing calls this directly
no test coverage detected