  
          f = forms.ModelChoiceField(Category.objects.all())
          self.assertEqual(list(f.choices), [
              ('', '---------'),
              (c1.pk, 'Entertainment'),
              (c2.pk, "It's a test"),
              (c3.pk, 'Third'),
              (c4.pk, 'Fourth')])
          self.assertEqual(5, len(f.choices))
          with self.assertRaises(ValidationError):
              f.clean('')
          with self.assertRaises(ValidationError):
              f.clean(None)
          with self.assertRaises(ValidationError):
 
</s> remove             (c1.pk, 'Entertainment'),
            (c2.pk, "It's a test"),
            (c3.pk, 'Third'),
            (c4.pk, 'Fourth')])
 </s> add             (self.c1.pk, 'Entertainment'),
            (self.c2.pk, "It's a test"),
            (self.c3.pk, 'Third')]) </s> remove         f.queryset = Category.objects.exclude(name='Fourth')
 </s> add         f.queryset = Category.objects.exclude(name='Third') </s> remove             (c1.pk, 'Entertainment'),
            (c2.pk, "It's a test"),
            (c3.pk, 'Third')])
        self.assertEqual(f.clean(c3.id).name, 'Third')
 </s> add             (self.c1.pk, 'Entertainment'),
            (self.c2.pk, "It's a test")])
        self.assertEqual(f.clean(self.c2.id).name, "It's a test") </s> remove             (c1.pk, 'Entertainment'),
            (c2.pk, "It's a test"),
            (c3.pk, 'Third')])
        self.assertQuerysetEqual(f.clean([c3.id]), ["Third"])
 </s> add             (self.c1.pk, 'Entertainment'),
            (self.c2.pk, "It's a test")])
        self.assertQuerysetEqual(f.clean([self.c2.id]), ["It's a test"]) </s> remove             (c1.pk, 'category Entertainment'),
            (c2.pk, "category It's a test"),
            (c3.pk, 'category Third'),
            (c4.pk, 'category Fourth')])

        # ModelMultipleChoiceField ####################################################
 </s> add             (self.c1.pk, 'category Entertainment'),
            (self.c2.pk, "category It's a test"),
            (self.c3.pk, 'category Third')])
            (self.c1.pk, 'Entertainment'),
            (self.c2.pk, "It's a test"),
            (self.c3.pk, 'Third')])
  
          f = forms.ModelChoiceField(Category.objects.all())
          self.assertEqual(list(f.choices), [
              ('', '---------'),
            (self.c1.pk, 'Entertainment'),
            (self.c2.pk, "It's a test"),
            (self.c3.pk, 'Third')])
            (self.c1.pk, 'Entertainment'),
            (self.c2.pk, "It's a test"),
            (self.c3.pk, 'Third')])
            (self.c1.pk, 'Entertainment'),
            (self.c2.pk, "It's a test"),
            (self.c3.pk, 'Third')])
            (self.c1.pk, 'Entertainment'),
            (self.c2.pk, "It's a test"),
            (self.c3.pk, 'Third')])
            (self.c1.pk, 'Entertainment'),
            (self.c2.pk, "It's a test"),
            (self.c3.pk, 'Third')])
          with self.assertRaises(ValidationError):
              f.clean('')
          with self.assertRaises(ValidationError):
              f.clean(None)
          with self.assertRaises(ValidationError):
keep keep keep keep replace replace replace replace replace keep keep keep keep keep
 Fixed #6103 -- Splitted tests in model_forms tests 
tests/model_forms/tests.py