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

Method setUp

Lib/test/multibytecodec_support.py:26–34  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

24 unmappedunicode = '\udeee' # a unicode code point that is not mapped.
25
26 def setUp(self):
27 if self.codec is None:
28 self.codec = codecs.lookup(self.encoding)
29 self.encode = self.codec.encode
30 self.decode = self.codec.decode
31 self.reader = self.codec.streamreader
32 self.writer = self.codec.streamwriter
33 self.incrementalencoder = self.codec.incrementalencoder
34 self.incrementaldecoder = self.codec.incrementaldecoder
35
36 def test_chunkcoding(self):
37 tstring_lines = []

Callers

nothing calls this directly

Calls 1

lookupMethod · 0.45

Tested by

no test coverage detected