summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorAndi Albrecht <albrecht.andi@gmail.com>2016-08-24 14:59:28 +0200
committerGitHub <noreply@github.com>2016-08-24 14:59:28 +0200
commit791a3312a247670cdeed61e52e8ca449dbb27afa (patch)
treebc386cace78549766f46475f037a760335eb447b /tests
parent31830af6355557ec159d2173b12ad1437f49b447 (diff)
parenta36008a235e31bc24b9d42a3a69b479031f024f9 (diff)
downloadsqlparse-791a3312a247670cdeed61e52e8ca449dbb27afa.tar.gz
Merge pull request #285 from vmuriart/unify_naming_schema
Unify_naming_schema. Closes #283
Diffstat (limited to 'tests')
-rw-r--r--tests/test_grouping.py2
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"