Fixed a PEP 8 error.

This commit is contained in:
Aymeric Augustin 2014-08-30 13:06:33 +02:00
parent eacf244506
commit df251e033c
1 changed files with 1 additions and 1 deletions

View File

@ -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):