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

Method check_io_encoding

Lib/test/test_utf8_mode.py:197–201  ·  view source on GitHub ↗
(self, module)

Source from the content-addressed store, hash-verified

195 self.assertEqual(out.lower(), f'{encoding}/{errors}')
196
197 def check_io_encoding(self, module):
198 self._check_io_encoding(module, encoding="latin1")
199 self._check_io_encoding(module, errors="namereplace")
200 self._check_io_encoding(module,
201 encoding="latin1", errors="namereplace")
202
203 def test_io_encoding(self):
204 self.check_io_encoding('io')

Callers 2

test_io_encodingMethod · 0.95
test_pyio_encodingMethod · 0.95

Calls 1

_check_io_encodingMethod · 0.95

Tested by

no test coverage detected