()
| 50 | |
| 51 | |
| 52 | def test_large_repeated(): |
| 53 | enc = tiktoken.get_encoding("o200k_base") |
| 54 | |
| 55 | # Large inputs should be handled without raising. |
| 56 | tokens = enc.encode("x" * 1_000_000) |
| 57 | assert tokens |
| 58 | |
| 59 | |
| 60 | def test_simple_regex(): |
nothing calls this directly
no test coverage detected
searching dependent graphs…