From ae48d77ef8e14dae76fddcd5a677b897c7c7c4ae Mon Sep 17 00:00:00 2001 From: Tim Graham Date: Wed, 23 Oct 2013 06:09:29 -0400 Subject: Fixed E225 pep8 warnings. --- tests/backends/tests.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/backends') diff --git a/tests/backends/tests.py b/tests/backends/tests.py index c6fe4e98f3..3c0cc67ea2 100644 --- a/tests/backends/tests.py +++ b/tests/backends/tests.py @@ -496,9 +496,9 @@ class BackendTestCase(TestCase): tbl = connection.introspection.table_name_converter(opts.db_table) f1 = connection.ops.quote_name(opts.get_field('root').column) f2 = connection.ops.quote_name(opts.get_field('square').column) - if paramstyle=='format': + if paramstyle == 'format': query = 'INSERT INTO %s (%s, %s) VALUES (%%s, %%s)' % (tbl, f1, f2) - elif paramstyle=='pyformat': + elif paramstyle == 'pyformat': query = 'INSERT INTO %s (%s, %s) VALUES (%%(root)s, %%(square)s)' % (tbl, f1, f2) else: raise ValueError("unsupported paramstyle in test") -- cgit v1.3