(self)
| 2835 | class TextIOWrapperTest(unittest.TestCase): |
| 2836 | |
| 2837 | def setUp(self): |
| 2838 | self.testdata = b"AAA\r\nBBB\rCCC\r\nDDD\nEEE\r\n" |
| 2839 | self.normalized = b"AAA\nBBB\nCCC\nDDD\nEEE\n".decode("ascii") |
| 2840 | os_helper.unlink(os_helper.TESTFN) |
| 2841 | codecs.register(lookupTestDecoder) |
| 2842 | self.addCleanup(codecs.unregister, lookupTestDecoder) |
| 2843 | |
| 2844 | def tearDown(self): |
| 2845 | os_helper.unlink(os_helper.TESTFN) |
nothing calls this directly
no test coverage detected