mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
test: Prepend "~typing" to the result of autodata
The default setting has been changed since 5.0.
This commit is contained in:
parent
7134317e49
commit
d5e76d69e8
@ -1219,7 +1219,7 @@ def test_autodoc_type_aliases(app):
|
||||
'',
|
||||
'.. py:data:: variable3',
|
||||
' :module: target.autodoc_type_aliases',
|
||||
' :type: Optional[int]',
|
||||
' :type: ~typing.Optional[int]',
|
||||
'',
|
||||
' docstring',
|
||||
'',
|
||||
@ -1290,7 +1290,7 @@ def test_autodoc_type_aliases(app):
|
||||
'',
|
||||
'.. py:data:: variable3',
|
||||
' :module: target.autodoc_type_aliases',
|
||||
' :type: Optional[myint]',
|
||||
' :type: ~typing.Optional[myint]',
|
||||
'',
|
||||
' docstring',
|
||||
'',
|
||||
|
Loading…
Reference in New Issue
Block a user