Issue #23277: Remove unused imports in tests.

This commit is contained in:
Serhiy Storchaka 2016-04-24 21:41:02 +03:00
parent 597d15afe4
commit e437a10d15
79 changed files with 23 additions and 117 deletions

View file

@ -1132,7 +1132,6 @@ def captured_stdout(encoding='utf-8'):
"""A variation on support.captured_stdout() which gives a text stream
having a `buffer` attribute.
"""
import io
orig_stdout = sys.stdout
sys.stdout = io.TextIOWrapper(io.BytesIO(), encoding=encoding)
try: