          view = MockView()
          content = {'field1': 'example1', 'field2': 'example2'}
          try:
              FormValidator(view).validate(content)
          except ResponseException, exc:           
              self.assertEqual(exc.response.raw_content, {'errors': [MockForm.ERROR_TEXT]})
          else:
              self.fail('ResourceException was not raised')  #pragma: no cover
  
  
 
</s> remove         except ResponseException, exc:
 </s> add         except ErrorResponse, exc: </s> remove         except ResponseException, exc:           
 </s> add         except ErrorResponse, exc:            </s> remove         except ResponseException, exc:           
 </s> add         except ErrorResponse, exc:            </s> remove         except ResponseException, exc:           
 </s> add         except ErrorResponse, exc:            </s> remove         except ResponseException, exc:
 </s> add         except ErrorResponse, exc:
        except ErrorResponse, exc:           
          view = MockView()
          content = {'field1': 'example1', 'field2': 'example2'}
          try:
              FormValidator(view).validate(content)
        except ErrorResponse, exc:           
              self.assertEqual(exc.response.raw_content, {'errors': [MockForm.ERROR_TEXT]})
          else:
              self.fail('ResourceException was not raised')  #pragma: no cover
  
  
keep keep keep keep replace keep keep keep keep keep
 Rename mixins into Mixin class, rename ResponseException to ErrorResponse, remove NoContent 
djangorestframework/tests/validators.py