diff options
author | shimizukawa <shimizukawa@gmail.com> | 2014-04-29 11:46:47 +0900 |
---|---|---|
committer | shimizukawa <shimizukawa@gmail.com> | 2014-04-29 11:46:47 +0900 |
commit | 5e9df0d136140d5b2aba94319ecba7ec541c7446 (patch) | |
tree | 629a54150044a6d588bcf8e740e13d65c50178ee /tests/test_autodoc.py | |
parent | 6f97da6fc4514d106008980fb44cad6d16e6318b (diff) | |
download | sphinx-5e9df0d136140d5b2aba94319ecba7ec541c7446.tar.gz |
introduce the six module and reduce sphinx.util.pycompat implementation. refs #1350.
Diffstat (limited to 'tests/test_autodoc.py')
-rw-r--r-- | tests/test_autodoc.py | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/tests/test_autodoc.py b/tests/test_autodoc.py index 30de8790..7b6c017e 100644 --- a/tests/test_autodoc.py +++ b/tests/test_autodoc.py @@ -10,13 +10,11 @@ :license: BSD, see LICENSE for details. """ -import sys -from StringIO import StringIO - # "raises" imported for usage by autodoc from util import TestApp, Struct, raises from nose.tools import with_setup +import six from docutils.statemachine import ViewList from sphinx.ext.autodoc import AutoDirective, add_documenter, \ @@ -811,7 +809,7 @@ class Class(Base): u"""should be documented as well - süß""" # initialized to any class imported from another module - mdocattr = StringIO() + mdocattr = six.StringIO() """should be documented as well - süß""" roger = _funky_classmethod("roger", 2, 3, 4) |