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

Method test_pyio_encoding

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

Source from the content-addressed store, hash-verified

197 self.check_io_encoding('io')
198
199 def test_pyio_encoding(self):
200 self.check_io_encoding('_pyio')
201
202 def test_locale_getpreferredencoding(self):
203 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