              self.assertEqual(rendered, 'My other name is James.')
  
  
  class TranslationThreadSafetyTests(TestCase):
      def setUp(self):
          self._old_language = get_language()
          self._translations = trans_real._translations
  
          # here we rely on .split() being called inside the _fetch()
 
</s> remove         # Okay, this is brutal, but we have no other choice to fully reset
        # the translation framework
        trans_real._active = local()
        trans_real._translations = {}
 </s> add         super(ResolutionOrderI18NTests, self).setUp() </s> remove class ResolutionOrderI18NTests(TestCase):
 </s> add class ResolutionOrderI18NTests(TransRealMixin, TestCase): </s> remove class FormattingTests(TestCase):
 </s> add class FormattingTests(TransRealMixin, TestCase):
    """Specifically not using TransRealMixin here to test threading."""

              self.assertEqual(rendered, 'My other name is James.')
  
  
  class TranslationThreadSafetyTests(TestCase):
    """Specifically not using TransRealMixin here to test threading."""

      def setUp(self):
          self._old_language = get_language()
          self._translations = trans_real._translations
  
          # here we rely on .split() being called inside the _fetch()
keep keep keep add keep keep keep keep keep
 Added TransRealMixin to fix i18n global state pollution in the test suite 
tests/i18n/tests.py