diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2016-04-24 18:41:02 (GMT) |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2016-04-24 18:41:02 (GMT) |
commit | e437a10d15ddfd21d406e591acccf12ff443194e (patch) | |
tree | f6227687646fda64f9eaf485ae2d9c3f55709232 /Lib/test/test_xmlrpc.py | |
parent | 597d15afe45ea3a8613d336e68a0a98b8846e603 (diff) | |
download | cpython-e437a10d15ddfd21d406e591acccf12ff443194e.zip cpython-e437a10d15ddfd21d406e591acccf12ff443194e.tar.gz cpython-e437a10d15ddfd21d406e591acccf12ff443194e.tar.bz2 |
Issue #23277: Remove unused imports in tests.
Diffstat (limited to 'Lib/test/test_xmlrpc.py')
-rw-r--r-- | Lib/test/test_xmlrpc.py | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/Lib/test/test_xmlrpc.py b/Lib/test/test_xmlrpc.py index cfb5964..59f9c32 100644 --- a/Lib/test/test_xmlrpc.py +++ b/Lib/test/test_xmlrpc.py @@ -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: |