MCPcopy Create free account
hub / github.com/python/cpython / test_reconfigure_locale

Method test_reconfigure_locale

Lib/test/test_io/test_textio.py:1197–1199  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1195 t = self.TextIOWrapper(F(), encoding='utf-8')
1196
1197 def test_reconfigure_locale(self):
1198 wrapper = self.TextIOWrapper(self.BytesIO(b"test"))
1199 wrapper.reconfigure(encoding="locale")
1200
1201 def test_reconfigure_encoding_read(self):
1202 # latin1 -> utf8

Callers

nothing calls this directly

Calls 1

reconfigureMethod · 0.95

Tested by

no test coverage detected