                  self.assertEqual(template1.render(context), output1)
                  self.assertEqual(template2.render(context), output2)
                  self.assertEqual(template3.render(context), output3)
  
  class MiscTests(TestCase):
  
      def setUp(self):
          self.rf = RequestFactory()
  
      def test_parse_spec_http_header(self):
 
</s> remove         trans_real._accepted = {}
 </s> add         super(CountrySpecificLanguageTests, self).setUp() </s> remove class CountrySpecificLanguageTests(TestCase):
 </s> add class CountrySpecificLanguageTests(TransRealMixin, TestCase): </s> remove class FormattingTests(TestCase):
 </s> add class FormattingTests(TransRealMixin, TestCase):
class MiscTests(TransRealMixin, TestCase):
                  self.assertEqual(template1.render(context), output1)
                  self.assertEqual(template2.render(context), output2)
                  self.assertEqual(template3.render(context), output3)
  
class MiscTests(TransRealMixin, TestCase):
  
      def setUp(self):
          self.rf = RequestFactory()
  
      def test_parse_spec_http_header(self):
keep keep keep keep replace keep keep keep keep keep
 Added TransRealMixin to fix i18n global state pollution in the test suite 
tests/i18n/tests.py