          """No response must be included in HEAD requests."""
          resp = self.client.head('/')
          self.assertEqual(resp.status_code, DUMMYSTATUS)
          self.assertEqual(resp['Content-Type'], RendererA.media_type + '; charset=utf-8')
          self.assertEqual(resp.content, six.b(''))
  
      def test_default_renderer_serializes_content_on_accept_any(self):
          """If the Accept header is set to */* the default renderer should serialize the response."""
          resp = self.client.get('/', HTTP_ACCEPT='*/*')
          self.assertEqual(resp['Content-Type'], RendererA.media_type + '; charset=utf-8')
 
</s> remove         self.assertEqual(resp.content, six.b(''))
 </s> add         self.assertEqual(resp.content, b'') </s> remove         expected = "{0}; charset={1}".format(RendererC.media_type, RendererC.charset)
 </s> add         expected = "{}; charset={}".format(RendererC.media_type, RendererC.charset) </s> remove         expected = "{0}; charset={1}".format(RendererA.media_type, 'utf-8')
 </s> add         expected = "{}; charset={}".format(RendererA.media_type, 'utf-8') </s> remove             content_type = "{0}; charset={1}".format(
 </s> add             content_type = "{}; charset={}".format( </s> remove         self.assertTrue(response.content in (
            six.b("403: Permission denied"), six.b("403 Forbidden")))
 </s> add         self.assertTrue(response.content in (b"403: Permission denied", b"403 Forbidden"))
        self.assertEqual(resp.content, b'')
          """No response must be included in HEAD requests."""
          resp = self.client.head('/')
          self.assertEqual(resp.status_code, DUMMYSTATUS)
          self.assertEqual(resp['Content-Type'], RendererA.media_type + '; charset=utf-8')
        self.assertEqual(resp.content, b'')
  
      def test_default_renderer_serializes_content_on_accept_any(self):
          """If the Accept header is set to */* the default renderer should serialize the response."""
          resp = self.client.get('/', HTTP_ACCEPT='*/*')
          self.assertEqual(resp['Content-Type'], RendererA.media_type + '; charset=utf-8')
keep keep keep keep replace keep keep keep keep keep
 Dropped Python 2 compatibility. (#6615)

Thanks to Jon Dufresne (@jdufresne) for review.

Co-authored-by: Asif Saif Uddin <auvipy@gmail.com>
Co-authored-by: Rizwan Mansuri <Rizwan@webbyfox.com> 
tests/test_renderers.py