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

Function coding_checker

Lib/test/test_codecs.py:34–37  ·  view source on GitHub ↗
(self, coder)

Source from the content-addressed store, hash-verified

32 return codecs.open(*args, **kwargs)
33
34def coding_checker(self, coder):
35 def check(input, expect):
36 self.assertEqual(coder(input), (expect, len(input)))
37 return check
38
39# On small versions of Windows like Windows IoT or Windows Nano Server not all codepages are present
40def is_code_page_present(cp):

Callers 7

test_escapeMethod · 0.85
test_warningsMethod · 0.85
test_escape_encodeMethod · 0.85
test_escape_decodeMethod · 0.85
test_decode_warningsMethod · 0.85
test_escape_encodeMethod · 0.85
test_escape_decodeMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…