diff options
| author | Takeshi KOMIYA <i.tkomiya@gmail.com> | 2019-06-15 23:39:44 +0900 |
|---|---|---|
| committer | Takeshi KOMIYA <i.tkomiya@gmail.com> | 2019-06-15 23:39:44 +0900 |
| commit | 5d42659e3336329367c559c6d9be7b0bdfeb6687 (patch) | |
| tree | 5d558a896aed0b403b5e8c5ecea0d85285fda34a /tests/test_autodoc.py | |
| parent | af50bfcdf66aa419df3a474c15e665371dd7baf5 (diff) | |
| parent | d2f0c8356850b07b7cd37a266cb5487a2e51c71c (diff) | |
| download | sphinx-git-5d42659e3336329367c559c6d9be7b0bdfeb6687.tar.gz | |
Merge branch '2.0'
Diffstat (limited to 'tests/test_autodoc.py')
| -rw-r--r-- | tests/test_autodoc.py | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/tests/test_autodoc.py b/tests/test_autodoc.py index 98f8f1a99..5cad89cdf 100644 --- a/tests/test_autodoc.py +++ b/tests/test_autodoc.py @@ -1347,30 +1347,6 @@ def test_partialmethod(app): assert list(actual) == expected -@pytest.mark.usefixtures('setup_test') -def test_module_variables(): - options = {"members": None, - "undoc-members": True} - actual = do_autodoc(app, 'module', 'target.module', options) - assert list(actual) == [ - '', - '.. py:module:: target.module', - '', - '', - '.. py:data:: CONSTANT1', - ' :module: target.module', - " :annotation: = ''", - '', - ' docstring for CONSTANT1', - ' ', - '', - '.. py:data:: CONSTANT2', - ' :module: target.module', - " :annotation: = ''", - '', - ] - - @pytest.mark.sphinx('html', testroot='pycode-egg') def test_autodoc_for_egged_code(app): options = {"members": None, |
