diff options
| author | Victor Uriarte <victor.m.uriarte@intel.com> | 2016-08-22 19:29:45 -0700 |
|---|---|---|
| committer | Victor Uriarte <victor.m.uriarte@intel.com> | 2016-08-22 19:29:45 -0700 |
| commit | a36008a235e31bc24b9d42a3a69b479031f024f9 (patch) | |
| tree | 39fe3c9b45e0e4c085458116ee641af982f1b945 /tests | |
| parent | ae0532678b0fdc859cae021ee135579d875a24a8 (diff) | |
| download | sqlparse-a36008a235e31bc24b9d42a3a69b479031f024f9.tar.gz | |
Unify_naming_schema. Closes #283
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/test_grouping.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_grouping.py b/tests/test_grouping.py index be03110..8b986c2 100644 --- a/tests/test_grouping.py +++ b/tests/test_grouping.py @@ -51,7 +51,7 @@ def test_grouping_identifiers(): s = "INSERT INTO `test` VALUES('foo', 'bar');" parsed = sqlparse.parse(s)[0] - types = [l.ttype for l in parsed.tokens if not l.is_whitespace()] + types = [l.ttype for l in parsed.tokens if not l.is_whitespace] assert types == [T.DML, T.Keyword, None, T.Keyword, None, T.Punctuation] s = "select 1.0*(a+b) as col, sum(c)/sum(d) from myschema.mytable" |
