MCPcopy
hub / github.com/openai/tiktoken / test_encode_empty

Function test_encode_empty

tests/test_encoding.py:81–83  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

79
80
81def test_encode_empty():
82 enc = tiktoken.get_encoding("r50k_base")
83 assert enc.encode("") == []
84
85
86def test_encode_bytes():

Callers

nothing calls this directly

Calls 1

encodeMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…