diff options
author | Takeshi KOMIYA <i.tkomiya@gmail.com> | 2022-02-06 09:59:24 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-06 09:59:24 +0300 |
commit | 680417a10df7e5c35c0ff65979bd22906b9a5f1e (patch) | |
tree | eab2eee34a792bc9f462bb2ceee5af8c398ba67c /tests | |
parent | 1d68973f20ae24ad1e62bd6a607e259955c3111f (diff) | |
parent | 7469096e0a48d6445204c7c39be5fba7b3524a9e (diff) |
Merge pull request #10150 from tk0miya/10146_autodoc_default_options_should_support_no-value
Close #10146: autodoc: autodoc_default_options does not support `no-value` option
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test_ext_autodoc_autoattribute.py | 2 | ||||
-rw-r--r-- | tests/test_ext_autodoc_autodata.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_ext_autodoc_autoattribute.py b/tests/test_ext_autodoc_autoattribute.py index 9502b3c52..fec4da463 100644 --- a/tests/test_ext_autodoc_autoattribute.py +++ b/tests/test_ext_autodoc_autoattribute.py @@ -32,7 +32,7 @@ def test_autoattribute(app): @pytest.mark.sphinx('html', testroot='ext-autodoc') def test_autoattribute_novalue(app): - options = {'no-value': True} + options = {'no-value': None} actual = do_autodoc(app, 'attribute', 'target.Class.attr', options) assert list(actual) == [ '', diff --git a/tests/test_ext_autodoc_autodata.py b/tests/test_ext_autodoc_autodata.py index 9fbfaaf39..7d6d9eb30 100644 --- a/tests/test_ext_autodoc_autodata.py +++ b/tests/test_ext_autodoc_autodata.py @@ -32,7 +32,7 @@ def test_autodata(app): @pytest.mark.sphinx('html', testroot='ext-autodoc') def test_autodata_novalue(app): - options = {'no-value': True} + options = {'no-value': None} actual = do_autodoc(app, 'data', 'target.integer', options) assert list(actual) == [ '', |