          self.enforce_csrf_checks = enforce_csrf_checks
          super(ClientHandler, self).__init__(*args, **kwargs)
  
      def __call__(self, environ):
          from django.conf import settings
  
          # Set up middleware if needed. We couldn't do this earlier, because
          # settings weren't available.
          if self._request_middleware is None:
              self.load_middleware()
  
 
</s> remove             from django.conf import settings
 </s> add  </s> remove from django.utils._os import upath
 </s> add  </s> remove import warnings
 </s> add  </s> remove from django.utils import six
 </s> add  </s> remove         err = self.errors
 </s> add         # This triggers a full clean.
        self.errors
          self.enforce_csrf_checks = enforce_csrf_checks
          super(ClientHandler, self).__init__(*args, **kwargs)
  
      def __call__(self, environ):


          # Set up middleware if needed. We couldn't do this earlier, because
          # settings weren't available.
          if self._request_middleware is None:
              self.load_middleware()
  
keep keep keep keep replace replace keep keep keep keep keep
 Fixed a number of flake8 errors -- particularly around unused imports and local variables 
django/test/client.py