(self, path)
| 6053 | class TestEncoding(TestCase): |
| 6054 | |
| 6055 | def _test_module_encoding(self, path): |
| 6056 | path, _ = os.path.splitext(path) |
| 6057 | path += ".py" |
| 6058 | with open(path, 'r', encoding='utf-8') as f: |
| 6059 | f.read() |
| 6060 | |
| 6061 | def test_argparse_module_encoding(self): |
| 6062 | self._test_module_encoding(argparse.__file__) |
no test coverage detected