  from django.core.management import call_command, CommandError, execute_from_command_line
  from django.core.management.utils import find_command
  from django.test import SimpleTestCase
  from django.test import override_settings
  from django.utils import translation
  from django.utils.translation import ugettext
  from django.utils.encoding import force_text
  from django.utils._os import upath
  from django.utils.six import StringIO
 
</s> remove import sys
 </s> add  </s> remove from django.utils.six import StringIO
 </s> add  </s> remove from django.test.utils import override_settings
 </s> add from django.test.utils import captured_stdout, override_settings
from django.test.utils import captured_stderr, captured_stdout
  from django.core.management import call_command, CommandError, execute_from_command_line
  from django.core.management.utils import find_command
  from django.test import SimpleTestCase
  from django.test import override_settings
from django.test.utils import captured_stderr, captured_stdout
  from django.utils import translation
  from django.utils.translation import ugettext
  from django.utils.encoding import force_text
  from django.utils._os import upath
  from django.utils.six import StringIO
keep keep keep add keep keep keep keep keep
 Fixed #23930 -- Added copies of captured_std* managers from CPython's test.support.

StringIO import was adapted for compatibility with Python 2. 
tests/i18n/test_compilation.py