diff options
| author | Rowan Seymour <rowanseymour@gmail.com> | 2017-02-09 11:33:01 +0200 |
|---|---|---|
| committer | Rowan Seymour <rowanseymour@gmail.com> | 2017-02-09 11:33:01 +0200 |
| commit | da54c39e30f62f69718e448e003591ce2233ca77 (patch) | |
| tree | c98b97f33102a059b45f3538f05c0aeb7efabb08 | |
| parent | 7c37c7f9132028b5af9c02bcccc33bef1c33787a (diff) | |
| download | sqlparse-da54c39e30f62f69718e448e003591ce2233ca77.tar.gz | |
Fix line length
| -rw-r--r-- | tests/test_regressions.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/test_regressions.py b/tests/test_regressions.py index 4e76229..cc553c2 100644 --- a/tests/test_regressions.py +++ b/tests/test_regressions.py @@ -346,7 +346,8 @@ def test_issue315_utf8_by_default(): def test_issue322_concurrently_is_keyword(): - p = sqlparse.parse('CREATE INDEX CONCURRENTLY myindex ON mytable(col1);')[0] + s = 'CREATE INDEX CONCURRENTLY myindex ON mytable(col1);' + p = sqlparse.parse(s)[0] assert len(p.tokens) == 12 assert p.tokens[0].ttype is T.Keyword.DDL # CREATE |
