  from django import forms
  from django.db import models
  from django.test import TestCase
  from djangorestframework.resources import FormResource, ModelResource
  from djangorestframework.response import ErrorResponse
  from djangorestframework.views import View
  
  
  class TestDisabledValidations(TestCase):
      """Tests on FormValidator with validation disabled by setting form to None"""
 
</s> remove from djangorestframework.response import ErrorResponse
 </s> add from djangorestframework.response import ImmediateResponse </s> remove from djangorestframework.response import Response, ErrorResponse
 </s> add from djangorestframework.response import Response, ImmediateResponse </s> remove from djangorestframework.response import Response, ErrorResponse
 </s> add from djangorestframework.response import Response, ImmediateResponse </s> remove from djangorestframework.response import Response, ErrorResponse
 </s> add from djangorestframework.response import Response, ImmediateResponse
from djangorestframework.response import ImmediateResponse
  from django import forms
  from django.db import models
  from django.test import TestCase
  from djangorestframework.resources import FormResource, ModelResource
from djangorestframework.response import ImmediateResponse
  from djangorestframework.views import View
  
  
  class TestDisabledValidations(TestCase):
      """Tests on FormValidator with validation disabled by setting form to None"""
keep keep keep keep replace keep keep keep keep keep
 cleaned a bit Response/ResponseMixin code, added some documentation + renamed ErrorResponse to ImmediateResponse 
djangorestframework/tests/validators.py