summaryrefslogtreecommitdiff
path: root/tests/test_split.py
diff options
context:
space:
mode:
authorAndi Albrecht <albrecht.andi@gmail.com>2012-11-12 06:43:32 +0100
committerAndi Albrecht <albrecht.andi@gmail.com>2012-11-12 14:39:50 +0100
commitf4876322e7fe36923d4eb89757a844b3d90be306 (patch)
tree21a1038ded7af284714e84efb53c21e041435c9d /tests/test_split.py
parent403b8148594d9c49b7e70a342252ceee2f026d1f (diff)
downloadsqlparse-f4876322e7fe36923d4eb89757a844b3d90be306.tar.gz
PEP8'ified to code a bit.
Diffstat (limited to 'tests/test_split.py')
-rw-r--r--tests/test_split.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/test_split.py b/tests/test_split.py
index 321fca2..f0b6dda 100644
--- a/tests/test_split.py
+++ b/tests/test_split.py
@@ -111,7 +111,8 @@ class SQLSplitTest(TestCaseBase):
def test_if_function(self): # see issue 33
# don't let IF as a function confuse the splitter
- sql = ('CREATE TEMPORARY TABLE tmp SELECT IF(a=1, a, b) AS o FROM one; '
+ sql = ('CREATE TEMPORARY TABLE tmp '
+ 'SELECT IF(a=1, a, b) AS o FROM one; '
'SELECT t FROM two')
stmts = sqlparse.split(sql)
self.assertEqual(len(stmts), 2)