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:
parent
7a7c789d5a
commit
536c447820
1
django/core/cache/backends/filebased.py
vendored
1
django/core/cache/backends/filebased.py
vendored
@ -152,7 +152,6 @@ class FileBasedCache(BaseCache):
|
||||
return filelist
|
||||
|
||||
|
||||
|
||||
# For backwards compatibility
|
||||
class CacheClass(FileBasedCache):
|
||||
pass
|
||||
|
1
tests/cache/tests.py
vendored
1
tests/cache/tests.py
vendored
@ -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
|
||||
|
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user