MCPcopy
hub / github.com/andialbrecht/sqlparse / test_array_literal

Function test_array_literal

tests/test_parse.py:295–299  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

293
294
295def test_array_literal():
296 # See issue #176
297 p = sqlparse.parse('ARRAY[%s, %s]')[0]
298 assert len(p.tokens) == 2
299 assert len(list(p.flatten())) == 7
300
301
302def test_typed_array_definition():

Callers

nothing calls this directly

Calls 1

flattenMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…