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

Method test_pyio_encoding

Lib/test/test_utf8_mode.py:206–207  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

204 self.check_io_encoding('io')
205
206 def test_pyio_encoding(self):
207 self.check_io_encoding('_pyio')
208
209 def test_locale_getpreferredencoding(self):
210 code = 'import locale; print(locale.getpreferredencoding(False), locale.getpreferredencoding(True))'

Callers

nothing calls this directly

Calls 1

check_io_encodingMethod · 0.95

Tested by

no test coverage detected