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

Function test_unicodize_deep

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

Source from the content-addressed store, hash-verified

178
179
180def test_unicodize_deep():
181 assert strings.unicodize_deep(
182 {
183 'key 1': 'value 1',
184 u'ключ 2': u'значение 2',
185 u'ключ 3'.encode('utf-8'): u'значение 3'.encode('utf-8'),
186 }
187 ) == {
188 u'key 1': u'value 1',
189 u'ключ 2': u'значение 2',
190 u'ключ 3': u'значение 3',
191 }
192
193
194def test_unicodize_deep_nested():

Callers

nothing calls this directly

Calls 1

encodeMethod · 0.45

Tested by

no test coverage detected