(self)
| 1055 | return items |
| 1056 | |
| 1057 | def test_files(self): |
| 1058 | with warnings.catch_warnings(): |
| 1059 | warnings.simplefilter('ignore', SyntaxWarning) |
| 1060 | |
| 1061 | for item in self.files_to_test(): |
| 1062 | if test.support.verbose: |
| 1063 | print(f"Testing {item.absolute()}") |
| 1064 | |
| 1065 | with self.subTest(filename=item): |
| 1066 | source = read_pyfile(item) |
| 1067 | self.check_ast_roundtrip(source) |
| 1068 | |
| 1069 | |
| 1070 | if __name__ == "__main__": |
nothing calls this directly
no test coverage detected