mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
Removed unused local variables in tests.
This commit is contained in:
@@ -159,7 +159,7 @@ class ImageFieldTests(ImageFieldTestMixin, TestCase):
|
||||
self.assertEqual(p.mugshot.closed, True)
|
||||
|
||||
# After asking for the size, the file should still be closed.
|
||||
_ = p.mugshot.size
|
||||
p.mugshot.size
|
||||
self.assertEqual(p.mugshot.closed, True)
|
||||
|
||||
def test_pickle(self):
|
||||
|
||||
Reference in New Issue
Block a user