Permalink
Browse files

Fixed a couple flake8 warnings.

  • Loading branch information...
1 parent 7a7c789 commit 536c44782007bf35dd17c1fd2c8551cb4ddd967b @timgraham timgraham committed Nov 8, 2013
Showing with 1 addition and 2 deletions.
  1. +0 −1 django/core/cache/backends/filebased.py
  2. +0 −1 tests/cache/tests.py
  3. +1 −0 tests/prefetch_related/tests.py
View
1 django/core/cache/backends/filebased.py
@@ -152,7 +152,6 @@ def _list_cache_files(self):
return filelist
-
# For backwards compatibility
class CacheClass(FileBasedCache):
pass
View
1 tests/cache/tests.py
@@ -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
1 tests/prefetch_related/tests.py
@@ -492,6 +492,7 @@ def test_custom_qs(self):
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):

0 comments on commit 536c447

Please sign in to comment.