          f = CommaSeparatedIntegerForm({'field': '1,,2'})
          self.assertEqual(f.is_valid(), True)
          self.assertEqual(f.cleaned_data, {'field': '1,,2'})
          f = CommaSeparatedIntegerForm({'field': '1'})
          self.assertEqual(f.is_valid(), True)
          self.assertEqual(f.cleaned_data, {'field': '1'})
  
          # This Price instance generated by this form is not valid because the quantity
          # field is required, but the form is valid because the field is excluded from
          # the form. This is for backwards compatibility.
 
</s> remove         self.assertEqual(f.is_valid(), True)
 </s> add         self.assertTrue(f.is_valid()) </s> remove         self.assertEqual(form.is_valid(), True)
 </s> add         self.assertTrue(form.is_valid()) </s> remove         self.assertEqual(f.is_valid(), True)
 </s> add         self.assertTrue(f.is_valid()) </s> remove         self.assertEqual(f.is_valid(), True)
 </s> add         self.assertTrue(f.is_valid()) </s> remove         self.assertEqual(f.is_valid(), True)
        instance = f.save()
        self.assertEqual(instance.file.name, 'tests/test2.txt')

        # Delete the current file since this is not done by Django.
        instance.file.delete()
        f = TextFileForm(
            data={'description': 'Assistance'},
            files={'file': SimpleUploadedFile('test2.txt', b'hello world')})
        self.assertEqual(f.is_valid(), True)
 </s> add         self.assertTrue(f.is_valid())
        self.assertTrue(f.is_valid())
          f = CommaSeparatedIntegerForm({'field': '1,,2'})
          self.assertEqual(f.is_valid(), True)
          self.assertEqual(f.cleaned_data, {'field': '1,,2'})
          f = CommaSeparatedIntegerForm({'field': '1'})
        self.assertTrue(f.is_valid())
          self.assertEqual(f.cleaned_data, {'field': '1'})
  
          # This Price instance generated by this form is not valid because the quantity
          # field is required, but the form is valid because the field is excluded from
          # the form. This is for backwards compatibility.
keep keep keep keep replace keep keep keep keep keep
 Fixed #6103 -- Splitted tests in model_forms tests 
tests/model_forms/tests.py