Fixed a couple flake8 warnings.
This commit is contained in:
parent
7a7c789d5a
commit
536c447820
|
@ -152,7 +152,6 @@ class FileBasedCache(BaseCache):
|
||||||
return filelist
|
return filelist
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# For backwards compatibility
|
# For backwards compatibility
|
||||||
class CacheClass(FileBasedCache):
|
class CacheClass(FileBasedCache):
|
||||||
pass
|
pass
|
||||||
|
|
|
@ -4,7 +4,6 @@
|
||||||
# Uses whatever cache backend is set in the test settings file.
|
# Uses whatever cache backend is set in the test settings file.
|
||||||
from __future__ import unicode_literals
|
from __future__ import unicode_literals
|
||||||
|
|
||||||
import hashlib
|
|
||||||
import os
|
import os
|
||||||
import pickle
|
import pickle
|
||||||
import random
|
import random
|
||||||
|
|
|
@ -492,6 +492,7 @@ class CustomPrefetchTests(TestCase):
|
||||||
self.assertEqual(lst2[0].houses_lst[0].rooms_lst[1], self.room1_2)
|
self.assertEqual(lst2[0].houses_lst[0].rooms_lst[1], self.room1_2)
|
||||||
self.assertEqual(len(lst2[1].houses_lst), 0)
|
self.assertEqual(len(lst2[1].houses_lst), 0)
|
||||||
|
|
||||||
|
|
||||||
class DefaultManagerTests(TestCase):
|
class DefaultManagerTests(TestCase):
|
||||||
|
|
||||||
def setUp(self):
|
def setUp(self):
|
||||||
|
|
Loading…
Reference in New Issue