diff options
Diffstat (limited to 'tests/test_autodoc.py')
-rw-r--r-- | tests/test_autodoc.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/test_autodoc.py b/tests/test_autodoc.py index 86c07b6c3..feaab19f4 100644 --- a/tests/test_autodoc.py +++ b/tests/test_autodoc.py @@ -1483,6 +1483,7 @@ def test_partialmethod(app): @pytest.mark.sphinx('html', testroot='ext-autodoc') +@pytest.mark.filterwarnings('ignore:autodoc_default_flags is now deprecated.') def test_merge_autodoc_default_flags1(app): app.config.autodoc_default_flags = ['members', 'undoc-members'] merge_autodoc_default_flags(app, app.config) @@ -1491,6 +1492,7 @@ def test_merge_autodoc_default_flags1(app): @pytest.mark.sphinx('html', testroot='ext-autodoc') +@pytest.mark.filterwarnings('ignore:autodoc_default_flags is now deprecated.') def test_merge_autodoc_default_flags2(app): app.config.autodoc_default_flags = ['members', 'undoc-members'] app.config.autodoc_default_options = {'members': 'this,that,order', |