MCPcopy Index your code
hub / github.com/kyegomez/OpenMythos / test_encode_empty_string

Function test_encode_empty_string

tests/test_tokenizer.py:31–34  ·  view source on GitHub ↗
(tokenizer)

Source from the content-addressed store, hash-verified

29
30
31def test_encode_empty_string(tokenizer):
32 ids = tokenizer.encode("")
33 print(f"encode('') → {ids}")
34 assert isinstance(ids, list)
35
36
37def test_decode_returns_string(tokenizer):

Callers

nothing calls this directly

Calls 1

encodeMethod · 0.80

Tested by

no test coverage detected