  
  class ResolutionOrderI18NTests(TestCase):
  
      def setUp(self):
          # Okay, this is brutal, but we have no other choice to fully reset
          # the translation framework
          trans_real._active = local()
          trans_real._translations = {}
          activate('de')
  
      def tearDown(self):
          deactivate()
  
 
</s> remove class ResolutionOrderI18NTests(TestCase):
 </s> add class ResolutionOrderI18NTests(TransRealMixin, TestCase):
        super(ResolutionOrderI18NTests, self).setUp()
  
  class ResolutionOrderI18NTests(TestCase):
  
      def setUp(self):
        super(ResolutionOrderI18NTests, self).setUp()
        super(ResolutionOrderI18NTests, self).setUp()
        super(ResolutionOrderI18NTests, self).setUp()
        super(ResolutionOrderI18NTests, self).setUp()
          activate('de')
  
      def tearDown(self):
          deactivate()
  
keep keep keep keep replace replace replace replace keep keep keep keep keep
 Added TransRealMixin to fix i18n global state pollution in the test suite 
tests/i18n/tests.py