From f4876322e7fe36923d4eb89757a844b3d90be306 Mon Sep 17 00:00:00 2001 From: Andi Albrecht Date: Mon, 12 Nov 2012 06:43:32 +0100 Subject: PEP8'ified to code a bit. --- tests/test_split.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tests/test_split.py') 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) -- cgit v1.2.1