Verify skip_empty=True matches Python's split() behavior.
(text)
| 2168 | ["hello world", " spaced ", "a\tb\nc", "no-spaces", " ", ""], |
| 2169 | ) |
| 2170 | def test_utf8_split_iter_matches_python(text): |
| 2171 | """Verify skip_empty=True matches Python's split() behavior.""" |
| 2172 | py_result = text.split() |
| 2173 | sz_result = [str(s) for s in sz.utf8_split_iter(text, skip_empty=True)] |
| 2174 | assert sz_result == py_result |
| 2175 | |
| 2176 | |
| 2177 |
nothing calls this directly
no test coverage detected
searching dependent graphs…