(encoding)
| 3875 | """Test codec name normalization""" |
| 3876 | def test_codecs_lookup(self): |
| 3877 | def search_function(encoding): |
| 3878 | if encoding.startswith("test."): |
| 3879 | return (encoding, 2, 3, 4) |
| 3880 | else: |
| 3881 | return None |
| 3882 | |
| 3883 | codecs.register(search_function) |
| 3884 | self.addCleanup(codecs.unregister, search_function) |
nothing calls this directly
no test coverage detected