diff options
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) == [ '', |