(self)
| 1897 | class TestFileTypeDeprecation(TestCase): |
| 1898 | |
| 1899 | def test(self): |
| 1900 | with self.assertWarns(PendingDeprecationWarning) as cm: |
| 1901 | argparse.FileType() |
| 1902 | self.assertIn('FileType is deprecated', str(cm.warning)) |
| 1903 | self.assertEqual(cm.filename, __file__) |
| 1904 | |
| 1905 | |
| 1906 | class TestFileTypeRepr(TestCase): |
nothing calls this directly
no test coverage detected