We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7c37c7f commit da54c39Copy full SHA for da54c39
1 file changed
tests/test_regressions.py
@@ -346,7 +346,8 @@ def test_issue315_utf8_by_default():
346
347
348
def test_issue322_concurrently_is_keyword():
349
- p = sqlparse.parse('CREATE INDEX CONCURRENTLY myindex ON mytable(col1);')[0]
+ s = 'CREATE INDEX CONCURRENTLY myindex ON mytable(col1);'
350
+ p = sqlparse.parse(s)[0]
351
352
assert len(p.tokens) == 12
353
assert p.tokens[0].ttype is T.Keyword.DDL # CREATE
0 commit comments