mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Closes #1418: Private and special members are properly skipped on Python 3.3
This commit is contained in:
@@ -278,8 +278,8 @@ class NumpyDocstringTest(BaseDocstringTest):
|
||||
config = Config(napoleon_use_param=False)
|
||||
actual = str(NumpyDocstring(textwrap.dedent(docstring), config))
|
||||
expected = textwrap.dedent("""
|
||||
:Parameters: **param1** (:class:`MyClass <name.space.MyClass>` instance)
|
||||
""")
|
||||
:Parameters: **param1** (:class:`MyClass <name.space.MyClass>` instance)
|
||||
""")
|
||||
self.assertEqual(expected, actual)
|
||||
|
||||
config = Config(napoleon_use_param=True)
|
||||
@@ -348,7 +348,8 @@ numpy.multivariate_normal(mean, cov, shape=None, spam=None)
|
||||
|
||||
config = Config()
|
||||
app = Mock()
|
||||
actual = str(NumpyDocstring(textwrap.dedent(docstring), config, app, "method"))
|
||||
actual = str(NumpyDocstring(textwrap.dedent(docstring),
|
||||
config, app, "method"))
|
||||
|
||||
expected = """
|
||||
numpy.multivariate_normal(mean, cov, shape=None, spam=None)
|
||||
|
||||
Reference in New Issue
Block a user