From e862296960c25c3919998fc386af7769db101fa5 Mon Sep 17 00:00:00 2001 From: Jon Dufresne Date: Thu, 24 Mar 2016 17:40:22 -0700 Subject: [PATCH] Removed duplicate definition of ChoiceFormSet. --- tests/forms_tests/tests/test_formsets.py | 7 ------- 1 file changed, 7 deletions(-) diff --git a/tests/forms_tests/tests/test_formsets.py b/tests/forms_tests/tests/test_formsets.py index e3fb1e8005..eb1b04b4e3 100644 --- a/tests/forms_tests/tests/test_formsets.py +++ b/tests/forms_tests/tests/test_formsets.py @@ -1232,13 +1232,6 @@ data = { } -class Choice(Form): - choice = CharField() - votes = IntegerField() - -ChoiceFormSet = formset_factory(Choice) - - class FormsetAsFooTests(SimpleTestCase): def test_as_table(self): formset = ChoiceFormSet(data, auto_id=False, prefix='choices')