(self)
| 3599 | self.check_output(source, expect, flag) |
| 3600 | |
| 3601 | def test_indent_flag(self): |
| 3602 | # test 'python -m ast -i/--indent 0' |
| 3603 | source = 'pass' |
| 3604 | expect = ''' |
| 3605 | Module( |
| 3606 | body=[ |
| 3607 | Pass()]) |
| 3608 | ''' |
| 3609 | for flag in ('-i=0', '--indent=0'): |
| 3610 | with self.subTest(flag=flag): |
| 3611 | self.check_output(source, expect, flag) |
| 3612 | |
| 3613 | def test_feature_version_flag(self): |
| 3614 | # test 'python -m ast --feature-version 3.9/3.10' |
nothing calls this directly
no test coverage detected