summaryrefslogtreecommitdiff
path: root/tests/py35/test_autodoc_py35.py
diff options
context:
space:
mode:
authorTakeshi KOMIYA <i.tkomiya@gmail.com>2018-09-02 22:30:51 +0900
committerTakeshi KOMIYA <i.tkomiya@gmail.com>2018-09-03 01:26:31 +0900
commit06aa1a78647bd8794eb37d7c62934feaec33db3c (patch)
tree9222be95a414f7907d92ed79a5cae96e4d12f89a /tests/py35/test_autodoc_py35.py
parentc6e0d92d108c05126226e1f2cd84f9f02a4f4e42 (diff)
downloadsphinx-git-06aa1a78647bd8794eb37d7c62934feaec33db3c.tar.gz
Fix #2401: autodoc: ``:members:`` causes ``:special-members:`` not to be shown
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 51a9ef1ff..23b3eb83e 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 add_documenter, FunctionDocumenter, ALL # NOQA
+from sphinx.ext.autodoc import add_documenter, FunctionDocumenter, ALL, Options # NOQA
from sphinx.testing.util import SphinxTestApp, Struct
from sphinx.util import logging
@@ -49,7 +49,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,