                  model = ImprovedArticleWithParentLink
                  fields = '__all__'
  
          self.assertEqual(list(ImprovedArticleWithParentLinkForm.base_fields), [])
  
      def test_modelform_subclassed_model(self):
          class BetterWriterForm(forms.ModelForm):
              class Meta:
                  # BetterWriter model is a subclass of Writer with an additional `score` field
 
</s> remove         bw = BetterWriter(name='Joe Better', score=10)
        bw.save()
 </s> add     def test_modelform_subclassed_model(self):
        class BetterWriterForm(forms.ModelForm):
            class Meta:
                # BetterWriter model is a subclass of Writer with an additional `score` field
                model = BetterWriter
                fields = '__all__'

        bw = BetterWriter.objects.create(name='Joe Better', score=10) </s> remove class ShortCategory(forms.ModelForm):
    name = forms.CharField(max_length=5)
    slug = forms.CharField(max_length=5)
    url = forms.CharField(max_length=3)

    class Meta:
        model = Category
        fields = '__all__'


class ImprovedArticleForm(forms.ModelForm):
    class Meta:
        model = ImprovedArticle
        fields = '__all__'


class ImprovedArticleWithParentLinkForm(forms.ModelForm):
    class Meta:
        model = ImprovedArticleWithParentLink
        fields = '__all__'


class BetterWriterForm(forms.ModelForm):
    class Meta:
        model = BetterWriter
        fields = '__all__'


class WriterProfileForm(forms.ModelForm):
    class Meta:
        model = WriterProfile
        fields = '__all__'


 </s> add  </s> remove         self.assertEqual(list(ImprovedArticleForm.base_fields), ['article'])
 </s> add         class ImprovedArticleWithParentLinkForm(forms.ModelForm):
            class Meta:
                model = ImprovedArticleWithParentLink
                fields = '__all__' </s> remove class FlexDatePostForm(forms.ModelForm):
    class Meta:
        model = FlexibleDatePost
        fields = '__all__'


 </s> add  </s> remove class TestArticleForm(forms.ModelForm):
    class Meta:
        model = Article
        fields = '__all__'


class PartialArticleFormWithSlug(forms.ModelForm):
    class Meta:
        model = Article
        fields = ('headline', 'slug', 'pub_date')


 </s> add 
        self.assertEqual(list(ImprovedArticleForm.base_fields), ['article'])
                  model = ImprovedArticleWithParentLink
                  fields = '__all__'
  
        self.assertEqual(list(ImprovedArticleForm.base_fields), ['article'])
          self.assertEqual(list(ImprovedArticleWithParentLinkForm.base_fields), [])
  
      def test_modelform_subclassed_model(self):
          class BetterWriterForm(forms.ModelForm):
              class Meta:
                  # BetterWriter model is a subclass of Writer with an additional `score` field
keep keep add keep keep keep keep keep keep
 Fixed #6103 -- Splitted tests in model_forms tests 
tests/model_forms/tests.py