From df251e033c88e6b5982f490ed863aa96c057bc8c Mon Sep 17 00:00:00 2001 From: Aymeric Augustin Date: Sat, 30 Aug 2014 13:06:33 +0200 Subject: [PATCH] Fixed a PEP 8 error. --- tests/cache/tests.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/cache/tests.py b/tests/cache/tests.py index 2ee7a6200b..70a5e1165d 100644 --- a/tests/cache/tests.py +++ b/tests/cache/tests.py @@ -921,7 +921,7 @@ class DBCacheTests(BaseCacheTests, TransactionTestCase): self.assertEqual(stdout.getvalue(), "Cache table 'test cache table' already exists.\n" * len([ k for k, v in settings.CACHES.items() - if v['BACKEND']=='django.core.cache.backends.db.DatabaseCache']) + if v['BACKEND'] == 'django.core.cache.backends.db.DatabaseCache']) ) def test_createcachetable_with_table_argument(self):