summaryrefslogtreecommitdiff
path: root/tests/py35/test_autodoc_py35.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/py35/test_autodoc_py35.py')
-rw-r--r--tests/py35/test_autodoc_py35.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/py35/test_autodoc_py35.py b/tests/py35/test_autodoc_py35.py
index b62d841a9..5064970e6 100644
--- a/tests/py35/test_autodoc_py35.py
+++ b/tests/py35/test_autodoc_py35.py
@@ -18,7 +18,7 @@ import six
from docutils.statemachine import ViewList
from six import StringIO
-from sphinx.ext.autodoc import FunctionDocumenter, ALL
+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
@@ -50,7 +50,7 @@ def setup_test():
global options, directive
global processed_docstrings, processed_signatures
- options = Struct(
+ options = Options(
inherited_members = False,
undoc_members = False,
private_members = False,