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

Method test_reconfigure_locale

Lib/test/test_io.py:3857–3859  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

3855 t = self.TextIOWrapper(F(), encoding='utf-8')
3856
3857 def test_reconfigure_locale(self):
3858 wrapper = self.TextIOWrapper(self.BytesIO(b"test"))
3859 wrapper.reconfigure(encoding="locale")
3860
3861 def test_reconfigure_encoding_read(self):
3862 # latin1 -> utf8

Callers

nothing calls this directly

Calls 1

reconfigureMethod · 0.95

Tested by

no test coverage detected