          class DisabledModelFormView(View):
              resource = ModelResource
  
          view = DisabledModelFormView()
          content = {'qwerty':'uiop'}
          self.assertEqual(ModelResource(view).get_bound_form(content), None)
  
  class TestNonFieldErrors(TestCase):
      """Tests against form validation errors caused by non-field errors.  (eg as might be caused by some custom form validation)"""
  
 
</s> remove         content = {'qwerty':'uiop'}
        self.assertEqual(ModelResource(view).get_bound_form(content), None)#
 </s> add         content = {'qwerty': 'uiop'}
        self.assertEqual(ModelResource(view).get_bound_form(content), None) </s> remove         content = {'qwerty': 'example', 'uiop':'example', 'readonly': 'read only', 'extra': 'extra'}
 </s> add         content = {'qwerty': 'example', 'uiop': 'example', 'readonly': 'read only', 'extra': 'extra'} </s> remove from djangorestframework.resources import Resource

 </s> add  </s> remove         content = {'qwerty':'uiop'}
 </s> add         content = {'qwerty': 'uiop'} </s> remove         content = {'qwerty':'uiop'}
 </s> add         content = {'qwerty': 'uiop'}
        content = {'qwerty': 'uiop'}
          class DisabledModelFormView(View):
              resource = ModelResource
  
          view = DisabledModelFormView()
        content = {'qwerty': 'uiop'}
          self.assertEqual(ModelResource(view).get_bound_form(content), None)
  
  class TestNonFieldErrors(TestCase):
      """Tests against form validation errors caused by non-field errors.  (eg as might be caused by some custom form validation)"""
  
keep keep keep keep replace keep keep keep keep keep
 Fix tests to work on all supported configurations. 
djangorestframework/tests/validators.py