'Regression for #13095: Using base forms with widgets defined in Meta should not raise errors.'

def test_baseform_with_widgets_in_meta(self):

    widget = forms.Textarea()
    class BaseForm(forms.ModelForm, ):
        class Meta:
            model = Person
            widgets = {u'name': widget}
            fields = u'__all__'
    Form = modelform_factory(Person, form=BaseForm)
    self.assertTrue((Form.base_fields[u'name'].widget is widget))
