diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/roots/test-ext-autodoc/target/__init__.py | 3 | ||||
-rw-r--r-- | tests/roots/test-root/autodoc_target.py | 3 | ||||
-rw-r--r-- | tests/test_ext_autosummary.py | 3 | ||||
-rw-r--r-- | tests/test_io.py | 3 | ||||
-rw-r--r-- | tests/test_quickstart.py | 3 |
5 files changed, 8 insertions, 7 deletions
diff --git a/tests/roots/test-ext-autodoc/target/__init__.py b/tests/roots/test-ext-autodoc/target/__init__.py index 0f8d555e8..908411c22 100644 --- a/tests/roots/test-ext-autodoc/target/__init__.py +++ b/tests/roots/test-ext-autodoc/target/__init__.py @@ -1,8 +1,7 @@ # -*- coding: utf-8 -*- import enum - -from six import StringIO +from io import StringIO from sphinx.util import save_traceback # NOQA diff --git a/tests/roots/test-root/autodoc_target.py b/tests/roots/test-root/autodoc_target.py index c18e093ee..6aaf9ee16 100644 --- a/tests/roots/test-root/autodoc_target.py +++ b/tests/roots/test-root/autodoc_target.py @@ -1,8 +1,7 @@ # -*- coding: utf-8 -*- import enum - -from six import StringIO +from io import StringIO __all__ = ['Class'] diff --git a/tests/test_ext_autosummary.py b/tests/test_ext_autosummary.py index e75fb71fd..069fdb722 100644 --- a/tests/test_ext_autosummary.py +++ b/tests/test_ext_autosummary.py @@ -9,8 +9,9 @@ :license: BSD, see LICENSE for details. """ +from io import StringIO + import pytest -from six import StringIO from sphinx.ext.autosummary import mangle_signature, import_by_name, extract_summary from sphinx.testing.util import etree_parse diff --git a/tests/test_io.py b/tests/test_io.py index 1c8fee86b..2e81035dc 100644 --- a/tests/test_io.py +++ b/tests/test_io.py @@ -9,8 +9,9 @@ :license: BSD, see LICENSE for details. """ +from io import StringIO + import pytest -from six import StringIO from sphinx.io import SphinxRSTFileInput diff --git a/tests/test_quickstart.py b/tests/test_quickstart.py index 31533cff0..248b91d64 100644 --- a/tests/test_quickstart.py +++ b/tests/test_quickstart.py @@ -11,9 +11,10 @@ import sys import time +from io import StringIO import pytest -from six import text_type, StringIO +from six import text_type from sphinx import application from sphinx.cmd import quickstart as qs |