MCPcopy Index your code
hub / github.com/RustPython/RustPython / check

Function check

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

Source from the content-addressed store, hash-verified

32
33def coding_checker(self, coder):
34 def check(input, expect):
35 self.assertEqual(coder(input), (expect, len(input)))
36 return check
37
38# 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 2

lenFunction · 0.85
assertEqualMethod · 0.45

Tested by

no test coverage detected