diff options
author | Adam Turner <9087854+aa-turner@users.noreply.github.com> | 2022-12-30 20:14:18 +0000 |
---|---|---|
committer | Adam Turner <9087854+aa-turner@users.noreply.github.com> | 2023-01-01 20:48:37 +0000 |
commit | f4c8a0a68e0013808d169357c9f77ebdf19d0f4e (patch) | |
tree | f952fa0106f7b93db5b5a21b801f12566f2ebaee /tests/test_ext_autodoc.py | |
parent | 0b1efd7756e05b238c28c62e3946a222cacbd229 (diff) | |
download | sphinx-git-f4c8a0a68e0013808d169357c9f77ebdf19d0f4e.tar.gz |
Insert ``from __future__ import annotations``
Diffstat (limited to 'tests/test_ext_autodoc.py')
-rw-r--r-- | tests/test_ext_autodoc.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_ext_autodoc.py b/tests/test_ext_autodoc.py index 6b00373f4..ec4388bf0 100644 --- a/tests/test_ext_autodoc.py +++ b/tests/test_ext_autodoc.py @@ -808,7 +808,7 @@ def test_autodoc_imported_members(app): "imported-members": None, "ignore-module-all": None} actual = do_autodoc(app, 'module', 'target', options) - assert '.. py:function:: save_traceback(app: ~typing.Optional[Sphinx]) -> str' in actual + assert '.. py:function:: function_to_be_imported(app: ~typing.Optional[Sphinx]) -> str' in actual @pytest.mark.sphinx('html', testroot='ext-autodoc') |