summaryrefslogtreecommitdiff
path: root/tests/modeladmin
diff options
context:
space:
mode:
authorTim Graham <timograham@gmail.com>2013-10-19 08:31:38 -0400
committerTim Graham <timograham@gmail.com>2013-10-19 08:31:38 -0400
commit96d1d4e29275f4f5900f0725975d2ad0a4d05816 (patch)
tree17b846e3b77f68fbb3b1dc7a2ff413f574c62ce1 /tests/modeladmin
parent5f52590368063fc8284e23be492d83ba751f66bf (diff)
downloaddjango-96d1d4e29275f4f5900f0725975d2ad0a4d05816.tar.gz
Removed unused local variables in tests.
Diffstat (limited to 'tests/modeladmin')
-rw-r--r--tests/modeladmin/tests.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/modeladmin/tests.py b/tests/modeladmin/tests.py
index f7d78677c3..acc3c94271 100644
--- a/tests/modeladmin/tests.py
+++ b/tests/modeladmin/tests.py
@@ -405,7 +405,7 @@ class ModelAdminTests(TestCase):
ConcertInline
]
- concert = Concert.objects.create(main_band=self.band, opening_band=self.band, day=1)
+ Concert.objects.create(main_band=self.band, opening_band=self.band, day=1)
ma = BandAdmin(Band, self.site)
inline_instances = ma.get_inline_instances(request)
fieldsets = list(inline_instances[0].get_fieldsets(request))