          class DisabledFormValidator(FormValidatorMixin):
              form = None
  
          content = {'qwerty':'uiop'}       
          self.assertEqual(DisabledFormValidator().validate(content), content)
  
      def test_disabled_form_validator_get_bound_form_returns_none(self):
          """If the form attribute is None on FormValidatorMixin then get_bound_form(content) should just return None."""
          class DisabledFormValidator(FormValidatorMixin):
              form = None
 
</s> remove         """If the form attribute is None on FormValidatorMixin then get_bound_form(content) should just return None."""
        class DisabledFormValidator(FormValidatorMixin):
 </s> add         """If the view's form attribute is None on then
        FormValidator(view).get_bound_form(content) should just return None."""
        class DisabledFormView(object): </s> remove         content = {'qwerty':'uiop'}     
        self.assertEqual(DisabledFormValidator().get_bound_form(content), None)
 </s> add         view = DisabledFormView()
        content = {'qwerty':'uiop'}       
        self.assertEqual(FormValidator(view).get_bound_form(content), None) </s> remove         """If the form attribute is None on FormValidatorMixin then validate(content) should just return the content unmodified."""
        class DisabledFormValidator(FormValidatorMixin):
 </s> add         """If the view's form attribute is None then FormValidator(view).validate(content)
        should just return the content unmodified."""
        class DisabledFormView(object): </s> remove         """If the form attribute is None on FormValidatorMixin then validate(content) should just return the content unmodified."""
        class DisabledModelFormValidator(ModelFormValidatorMixin):
 </s> add         """If the view's form and model attributes are None then
        ModelFormValidator(view).validate(content) should just return the content unmodified."""
        class DisabledModelFormView(object): </s> remove 
        content = {'qwerty':'uiop'}     
        self.assertEqual(DisabledModelFormValidator().get_bound_form(content), None)

 </s> add             model = None
 
        view = DisabledModelFormView()
        content = {'qwerty':'uiop'}       
        self.assertEqual(ModelFormValidator(view).get_bound_form(content), None)# 
        self.assertEqual(FormValidator(view).validate(content), content)
          class DisabledFormValidator(FormValidatorMixin):
              form = None
  
          content = {'qwerty':'uiop'}       
        self.assertEqual(FormValidator(view).validate(content), content)
  
      def test_disabled_form_validator_get_bound_form_returns_none(self):
          """If the form attribute is None on FormValidatorMixin then get_bound_form(content) should just return None."""
          class DisabledFormValidator(FormValidatorMixin):
              form = None
keep keep keep keep replace keep keep keep keep keep
 Lots of validator tests passing after refactor 
djangorestframework/tests/validators.py