          responses outside of tests.
          """
          method = getattr(self.client, http_method)
          resp = method(url)
          del resp.client, resp.request
          try:
              del resp.wsgi_request
          except AttributeError:
              pass
          return resp
 
</s> remove     # TODO: remove that once Django 1.3 isn't supported
    if django.VERSION >= (1, 4):
        rendering_attrs = SimpleTemplateResponse.rendering_attrs + ['_closable_objects']
 </s> add  </s> remove import django
 </s> add 
        del resp.client, resp.request, resp._closable_objects
          responses outside of tests.
          """
          method = getattr(self.client, http_method)
          resp = method(url)
        del resp.client, resp.request, resp._closable_objects
          try:
              del resp.wsgi_request
          except AttributeError:
              pass
          return resp
keep keep keep keep replace keep keep keep keep keep
 Reverted 59d0a0387d907260ef8f91bbbca618831abd75a3 and fixed the tests 
tests/test_renderers.py