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

Method test_special_chars

tests/python/test_serialization.py:170–172  ·  view source on GitHub ↗

String with special characters roundtrips correctly.

(self)

Source from the content-addressed store, hash-verified

168 _assert_roundtrip_eq(tvm_ffi.convert("x" * 1000))
169
170 def test_special_chars(self) -> None:
171 """String with special characters roundtrips correctly."""
172 _assert_roundtrip_eq(tvm_ffi.convert('hello\nworld\t"quotes"'))
173
174 def test_unicode(self) -> None:
175 """Unicode string roundtrips correctly."""

Callers

nothing calls this directly

Calls 2

_assert_roundtrip_eqFunction · 0.85
convertMethod · 0.45

Tested by

no test coverage detected