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

Function check

Lib/test/test_codecs.py:35–36  ·  view source on GitHub ↗
(input, expect)

Source from the content-addressed store, hash-verified

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

Callers 7

test_escapeMethod · 0.70
test_warningsMethod · 0.70
test_escape_encodeMethod · 0.70
test_escape_decodeMethod · 0.70
test_decode_warningsMethod · 0.70
test_escape_encodeMethod · 0.70
test_escape_decodeMethod · 0.70

Calls 1

assertEqualMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…