summaryrefslogtreecommitdiff
path: root/tests/model_formsets_regress
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/model_formsets_regress
parent5f52590368063fc8284e23be492d83ba751f66bf (diff)
downloaddjango-96d1d4e29275f4f5900f0725975d2ad0a4d05816.tar.gz
Removed unused local variables in tests.
Diffstat (limited to 'tests/model_formsets_regress')
-rw-r--r--tests/model_formsets_regress/tests.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/model_formsets_regress/tests.py b/tests/model_formsets_regress/tests.py
index a2b3dcdce4..3fd41dddb0 100644
--- a/tests/model_formsets_regress/tests.py
+++ b/tests/model_formsets_regress/tests.py
@@ -161,8 +161,8 @@ class InlineFormsetTests(TestCase):
# Instantiate the Form and FormSet to prove
# you can create a formset with an instance of None
- form = Form(instance=None)
- formset = FormSet(instance=None)
+ Form(instance=None)
+ FormSet(instance=None)
def test_empty_fields_on_modelformset(self):
"No fields passed to modelformset_factory should result in no fields on returned forms except for the id. See #14119."