MCPcopy Create free account
hub / github.com/catboost/catboost / test_to_str_transcode_wrong

Function test_to_str_transcode_wrong

library/python/strings/ut/test_strings.py:104–106  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

102
103
104def test_to_str_transcode_wrong():
105 assert strings.to_str(u'юникод'.encode('utf-8'), from_enc='cp1251')
106 assert strings.to_str(u'юникод'.encode('cp1251'), from_enc='utf-8')
107
108
109def test_to_str_transcode_disabled():

Callers

nothing calls this directly

Calls 1

encodeMethod · 0.45

Tested by

no test coverage detected