(self)
| 3572 | self.check_output(source, expect, flag) |
| 3573 | |
| 3574 | def test_indent_flag(self): |
| 3575 | # test 'python -m ast -i/--indent 0' |
| 3576 | source = 'pass' |
| 3577 | expect = ''' |
| 3578 | Module( |
| 3579 | body=[ |
| 3580 | Pass()]) |
| 3581 | ''' |
| 3582 | for flag in ('-i=0', '--indent=0'): |
| 3583 | with self.subTest(flag=flag): |
| 3584 | self.check_output(source, expect, flag) |
| 3585 | |
| 3586 | def test_feature_version_flag(self): |
| 3587 | # test 'python -m ast --feature-version 3.9/3.10' |
nothing calls this directly
no test coverage detected