mirror of
https://github.com/django/django.git
synced 2025-08-03 18:38:50 +00:00
Refs #23968 -- Removed unnecessary lists, generators, and tuple calls.
This commit is contained in:
parent
edee5a8de6
commit
2c69824e5a
63 changed files with 145 additions and 150 deletions
|
@ -66,7 +66,7 @@ class FileSystemStorageTests(unittest.TestCase):
|
|||
def test_deconstruction(self):
|
||||
path, args, kwargs = temp_storage.deconstruct()
|
||||
self.assertEqual(path, "django.core.files.storage.FileSystemStorage")
|
||||
self.assertEqual(args, tuple())
|
||||
self.assertEqual(args, ())
|
||||
self.assertEqual(kwargs, {'location': temp_storage_location})
|
||||
|
||||
kwargs_orig = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue