()
| 80 | |
| 81 | |
| 82 | def test_token_flatten(): |
| 83 | token = sql.Token(T.Keyword, 'foo') |
| 84 | gen = token.flatten() |
| 85 | assert isinstance(gen, types.GeneratorType) |
| 86 | lgen = list(gen) |
| 87 | assert lgen == [token] |
| 88 | |
| 89 | |
| 90 | def test_tokenlist_repr(): |
nothing calls this directly
no test coverage detected
searching dependent graphs…