1
0
mirror of https://github.com/django/django.git synced 2025-10-24 14:16:09 +00:00

Fixed a PEP 8 error.

This commit is contained in:
Aymeric Augustin
2014-08-30 13:06:33 +02:00
parent eacf244506
commit df251e033c

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