(self)
| 1798 | class TestFileTypeDeprecation(TestCase): |
| 1799 | |
| 1800 | def test(self): |
| 1801 | with self.assertWarns(PendingDeprecationWarning) as cm: |
| 1802 | argparse.FileType() |
| 1803 | self.assertIn('FileType is deprecated', str(cm.warning)) |
| 1804 | self.assertEqual(cm.filename, __file__) |
| 1805 | |
| 1806 | |
| 1807 | class TestFileTypeRepr(TestCase): |
nothing calls this directly
no test coverage detected