diff options
Diffstat (limited to 'tests/py35/test_autodoc_py35.py')
-rw-r--r-- | tests/py35/test_autodoc_py35.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/py35/test_autodoc_py35.py b/tests/py35/test_autodoc_py35.py index 23b3eb83e..5064970e6 100644 --- a/tests/py35/test_autodoc_py35.py +++ b/tests/py35/test_autodoc_py35.py @@ -18,9 +18,10 @@ import six from docutils.statemachine import ViewList from six import StringIO -from sphinx.ext.autodoc import add_documenter, FunctionDocumenter, ALL, Options # NOQA +from sphinx.ext.autodoc import FunctionDocumenter, ALL, Options from sphinx.testing.util import SphinxTestApp, Struct from sphinx.util import logging +from sphinx.util import save_traceback # NOQA app = None @@ -181,7 +182,7 @@ def test_generate(): 'Class.meth', more_content=add_content) # test check_module - inst = FunctionDocumenter(directive, 'add_documenter') + inst = FunctionDocumenter(directive, 'save_traceback') inst.generate(check_module=True) assert len(directive.result) == 0 |