  
          # check that we can safely iterate choices repeatedly
          gen_one = list(f.choices)
          gen_two = f.choices
          self.assertEqual(gen_one[2], (c2.pk, "It's a test"))
          self.assertEqual(list(gen_two), [
              ('', '---------'),
              (c1.pk, 'Entertainment'),
              (c2.pk, "It's a test"),
              (c3.pk, 'Third')])
 
</s> remove             f.clean(c4.id)
 </s> add             f.clean(self.c3.id) </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')])
 </s> add             (self.c1.pk, 'Entertainment'),
            (self.c2.pk, "It's a test")]) </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'),
            (c4.pk, 'Fourth')])
        self.assertEqual(5, len(f.choices))
 </s> add             (self.c1.pk, 'Entertainment'),
            (self.c2.pk, "It's a test"),
            (self.c3.pk, 'Third')])
        self.assertEqual(gen_one[2], (self.c2.pk, "It's a test"))
  
          # check that we can safely iterate choices repeatedly
          gen_one = list(f.choices)
          gen_two = f.choices
        self.assertEqual(gen_one[2], (self.c2.pk, "It's a test"))
          self.assertEqual(list(gen_two), [
              ('', '---------'),
              (c1.pk, 'Entertainment'),
              (c2.pk, "It's a test"),
              (c3.pk, 'Third')])
keep keep keep keep replace keep keep keep keep keep
 Fixed #6103 -- Splitted tests in model_forms tests 
tests/model_forms/tests.py