1
0
mirror of https://github.com/django/django.git synced 2024-12-23 01:25:58 +00:00

Fixed a couple flake8 warnings.

This commit is contained in:
Tim Graham 2013-11-07 20:10:25 -05:00
parent 7a7c789d5a
commit 536c447820
3 changed files with 1 additions and 2 deletions

View File

@ -152,7 +152,6 @@ class FileBasedCache(BaseCache):
return filelist
# For backwards compatibility
class CacheClass(FileBasedCache):
pass

View File

@ -4,7 +4,6 @@
# Uses whatever cache backend is set in the test settings file.
from __future__ import unicode_literals
import hashlib
import os
import pickle
import random

View File

@ -492,6 +492,7 @@ class CustomPrefetchTests(TestCase):
self.assertEqual(lst2[0].houses_lst[0].rooms_lst[1], self.room1_2)
self.assertEqual(len(lst2[1].houses_lst), 0)
class DefaultManagerTests(TestCase):
def setUp(self):