          ('en', 'English'),
          ('fr', 'French'),
      ),
  )
  class ContentTypeTests(TestCase):
      def test_verbose_name(self):
          company_type = ContentType.objects.get(app_label='i18n', model='company')
          with translation.override('en'):
              self.assertEqual(six.text_type(company_type), 'Company')
          with translation.override('fr'):
 
</s> remove class TranslationTests(TestCase):
 </s> add class TranslationTests(TransRealMixin, TestCase): </s> remove class CountrySpecificLanguageTests(TestCase):
 </s> add class CountrySpecificLanguageTests(TransRealMixin, TestCase): </s> remove class LocaleMiddlewareTests(TestCase):
 </s> add class LocaleMiddlewareTests(TransRealMixin, TestCase): </s> remove class FormattingTests(TestCase):
 </s> add class FormattingTests(TransRealMixin, TestCase):
class ContentTypeTests(TransRealMixin, TestCase):
          ('en', 'English'),
          ('fr', 'French'),
      ),
  )
class ContentTypeTests(TransRealMixin, TestCase):
      def test_verbose_name(self):
          company_type = ContentType.objects.get(app_label='i18n', model='company')
          with translation.override('en'):
              self.assertEqual(six.text_type(company_type), 'Company')
          with translation.override('fr'):
keep keep keep keep replace keep keep keep keep keep
 Added TransRealMixin to fix i18n global state pollution in the test suite 
tests/i18n/contenttypes/tests.py