Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
118
def
test_builtin_config_stem_is_normalized():
119
import
opencc
120
121
assert opencc.OpenCC(
's2t'
).convert(
'汉字'
) ==
'漢字'
122
123
124
def
test_custom_config_path_without_json_extension_is_preserved():
Callers
nothing calls this directly
Calls
1
convert
Method · 0.80
Tested by
no test coverage detected