summaryrefslogtreecommitdiff
path: root/tests/forms_tests
diff options
context:
space:
mode:
authorJon Dufresne <jon.dufresne@gmail.com>2016-03-24 17:40:22 -0700
committerTim Graham <timograham@gmail.com>2016-03-25 07:37:21 -0400
commite862296960c25c3919998fc386af7769db101fa5 (patch)
treef8a203ade010698b4e1187582411b58748749b4d /tests/forms_tests
parente1d8426c2f95da30464bb9dee4e3e5c9b8c26b8b (diff)
Removed duplicate definition of ChoiceFormSet.
Diffstat (limited to 'tests/forms_tests')
-rw-r--r--tests/forms_tests/tests/test_formsets.py7
1 files changed, 0 insertions, 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')