MCPcopy Index your code
hub / github.com/python/cpython / tearDown

Method tearDown

Lib/test/test_codecs.py:3160–3163  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

3158 self.obj_to_raise = RuntimeError
3159
3160 def tearDown(self):
3161 _TEST_CODECS.pop(self.codec_name, None)
3162 # Issue #22166: Also pop from caches to avoid appearance of ref leaks
3163 encodings._cache.pop(self.codec_name, None)
3164
3165 def set_codec(self, encode, decode):
3166 codec_info = codecs.CodecInfo(encode, decode,

Callers

nothing calls this directly

Calls 1

popMethod · 0.45

Tested by

no test coverage detected