Commit e8622969 authored by Jon Dufresne's avatar Jon Dufresne Committed by Tim Graham
Browse files

Removed duplicate definition of ChoiceFormSet.

parent e1d8426c
Loading
Loading
Loading
Loading
+0 −7
Original line number Diff line number Diff line
@@ -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')