summaryrefslogtreecommitdiff
path: root/tests/test_autodoc.py
diff options
context:
space:
mode:
authorTakeshi KOMIYA <i.tkomiya@gmail.com>2019-06-10 22:31:18 +0900
committerTakeshi KOMIYA <i.tkomiya@gmail.com>2019-06-10 22:31:18 +0900
commite0eb86224df2044ed127be356f6f6b5fc32403d9 (patch)
treed39546ec6173970876ddb3bedb047b7d23b3bd73 /tests/test_autodoc.py
parentd9d0e49ea90812bc80e670180c1a0936c65bbf90 (diff)
parent1eb8e0145cb0d9f8f322e69dde7b5af2b71bd1a0 (diff)
downloadsphinx-git-e0eb86224df2044ed127be356f6f6b5fc32403d9.tar.gz
Merge branch '2.1.1' into 2.0
Diffstat (limited to 'tests/test_autodoc.py')
-rw-r--r--tests/test_autodoc.py24
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,