MCPcopy Create free account
hub / github.com/BYVoid/OpenCC / test_builtin_config_stem_is_normalized

Function test_builtin_config_stem_is_normalized

python/tests/test_opencc.py:118–121  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

116
117
118def test_builtin_config_stem_is_normalized():
119 import opencc
120
121 assert opencc.OpenCC('s2t').convert('汉字') == '漢字'
122
123
124def test_custom_config_path_without_json_extension_is_preserved():

Callers

nothing calls this directly

Calls 1

convertMethod · 0.80

Tested by

no test coverage detected