summaryrefslogtreecommitdiff
path: root/tests/test_intl.py
diff options
context:
space:
mode:
authorTakayuki Shimizukawa <shimizukawa@gmail.com>2014-04-30 21:30:46 +0900
committerTakayuki Shimizukawa <shimizukawa@gmail.com>2014-04-30 21:30:46 +0900
commit1e5806269243d5d10bb4f1421b9b5448963e704a (patch)
tree10eb2c9270c8dc73156fafdcdb4c6d04fe441f44 /tests/test_intl.py
parentf31d9113ffc1c58bfcc47f2a29439102b62801fc (diff)
downloadsphinx-git-1e5806269243d5d10bb4f1421b9b5448963e704a.tar.gz
remove 'six' name except importing line.
Diffstat (limited to 'tests/test_intl.py')
-rw-r--r--tests/test_intl.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/test_intl.py b/tests/test_intl.py
index 3f25050c5..b4ce96449 100644
--- a/tests/test_intl.py
+++ b/tests/test_intl.py
@@ -16,12 +16,12 @@ import re
from subprocess import Popen, PIPE
from xml.etree import ElementTree
-import six
+from six import StringIO, string_types
from util import test_roots, path, with_app, SkipTest
-warnfile = six.StringIO()
+warnfile = StringIO()
root = test_roots / 'test-intl'
doctreedir = root / '_build' / 'doctree'
@@ -77,7 +77,7 @@ def elem_gettexts(elem):
# this function copied from Python-2.7 'ElementTree.itertext'.
# for compatibility to Python-2.6
tag = self.tag
- if not isinstance(tag, six.string_types) and tag is not None:
+ if not isinstance(tag, string_types) and tag is not None:
return
if self.text:
yield self.text