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

Function coding_checker

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

Source from the content-addressed store, hash-verified

31 return codecs.open(*args, **kwargs)
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
39def 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