MCPcopy Create free account
hub / github.com/apache/tvm-ffi / test_unicode

Method test_unicode

tests/python/test_serialization.py:174–176  ·  view source on GitHub ↗

Unicode string roundtrips correctly.

(self)

Source from the content-addressed store, hash-verified

172 _assert_roundtrip_eq(tvm_ffi.convert('hello\nworld\t"quotes"'))
173
174 def test_unicode(self) -> None:
175 """Unicode string roundtrips correctly."""
176 _assert_roundtrip_eq(tvm_ffi.convert("hello 世界"))
177
178
179# ---------------------------------------------------------------------------

Callers

nothing calls this directly

Calls 2

_assert_roundtrip_eqFunction · 0.85
convertMethod · 0.45

Tested by

no test coverage detected