diff options
Diffstat (limited to 'tests/test_ext_autodoc.py')
-rw-r--r-- | tests/test_ext_autodoc.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/test_ext_autodoc.py b/tests/test_ext_autodoc.py index 8f14392b2..c853fbb03 100644 --- a/tests/test_ext_autodoc.py +++ b/tests/test_ext_autodoc.py @@ -1870,12 +1870,15 @@ def test_autodoc_GenericAlias(app): ' .. py:attribute:: Class.T', ' :module: target.genericalias', '', + ' A list of int', + '', ' alias of :py:class:`~typing.List`\\ [:py:class:`int`]', '', '.. py:attribute:: T', ' :module: target.genericalias', '', - ' alias of :py:class:`~typing.List`\\ [:py:class:`int`]', + ' A list of int', + '', ] else: assert list(actual) == [ |