(self)
| 137 | 'test.cjktest') |
| 138 | |
| 139 | def test_callback_None_index(self): |
| 140 | def myreplace(exc): |
| 141 | return ('x', None) |
| 142 | codecs.register_error("test.cjktest", myreplace) |
| 143 | self.assertRaises(TypeError, self.encode, self.unmappedunicode, |
| 144 | 'test.cjktest') |
| 145 | |
| 146 | def test_callback_backward_index(self): |
| 147 | def myreplace(exc): |
nothing calls this directly
no test coverage detected