  
      def test_en_redirect(self):
          response = self.client.get('/account/register', HTTP_ACCEPT_LANGUAGE='en', follow=True)
          # We only want one redirect, bypassing CommonMiddleware
          self.assertListEqual(response.redirect_chain, [('/en/account/register/', 302)])
          self.assertRedirects(response, '/en/account/register/', 302)
  
          response = self.client.get('/prefixed.xml', HTTP_ACCEPT_LANGUAGE='en', follow=True)
          self.assertRedirects(response, '/en/prefixed.xml', 302)
  
 
</s> remove         self.assertListEqual(
            list(a1.question.get_answer_order()), list(a2.question.get_answer_order())
        )
 </s> add         self.assertEqual(list(a1.question.get_answer_order()), list(a2.question.get_answer_order())) </s> remove         self.assertSequenceEqual(list(Event.objects.raw('SELECT * FROM timezones_event WHERE dt = %s', [dt])), [event])
 </s> add         self.assertEqual(list(Event.objects.raw('SELECT * FROM timezones_event WHERE dt = %s', [dt])), [event]) </s> remove         test_routers = (object(),)
 </s> add         test_routers = [object()] </s> remove         self.assertSequenceEqual(set(searched), {self.verse1, self.verse2})
 </s> add         self.assertEqual(set(searched), {self.verse1, self.verse2}) </s> remove         self.assertListEqual([r.__class__.__name__ for r in connection_router.routers], ['TestRouter', 'WriteRouter'])
 </s> add         self.assertEqual([r.__class__.__name__ for r in connection_router.routers], ['TestRouter', 'WriteRouter'])
        self.assertEqual(response.redirect_chain, [('/en/account/register/', 302)])
  
      def test_en_redirect(self):
          response = self.client.get('/account/register', HTTP_ACCEPT_LANGUAGE='en', follow=True)
          # We only want one redirect, bypassing CommonMiddleware
        self.assertEqual(response.redirect_chain, [('/en/account/register/', 302)])
          self.assertRedirects(response, '/en/account/register/', 302)
  
          response = self.client.get('/prefixed.xml', HTTP_ACCEPT_LANGUAGE='en', follow=True)
          self.assertRedirects(response, '/en/prefixed.xml', 302)
  
keep keep keep keep replace keep keep keep keep keep
 Replaced type-specific assertions with assertEqual().

Python docs say, "it's usually not necessary to invoke these methods directly." 
tests/i18n/patterns/tests.py