summaryrefslogtreecommitdiff
path: root/tests/test_ext_autodoc.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_ext_autodoc.py')
-rw-r--r--tests/test_ext_autodoc.py16
1 files changed, 8 insertions, 8 deletions
diff --git a/tests/test_ext_autodoc.py b/tests/test_ext_autodoc.py
index 8f723deb4..99d56b27b 100644
--- a/tests/test_ext_autodoc.py
+++ b/tests/test_ext_autodoc.py
@@ -1911,7 +1911,7 @@ def test_autodoc_TypeVar(app):
' :module: target.typevar',
'',
'',
- ' .. py:attribute:: Class.T1',
+ ' .. py:class:: Class.T1',
' :module: target.typevar',
'',
' T1',
@@ -1919,7 +1919,7 @@ def test_autodoc_TypeVar(app):
" alias of TypeVar('T1')",
'',
'',
- ' .. py:attribute:: Class.T6',
+ ' .. py:class:: Class.T6',
' :module: target.typevar',
'',
' T6',
@@ -1927,7 +1927,7 @@ def test_autodoc_TypeVar(app):
' alias of :py:class:`~datetime.date`',
'',
'',
- '.. py:data:: T1',
+ '.. py:class:: T1',
' :module: target.typevar',
'',
' T1',
@@ -1935,7 +1935,7 @@ def test_autodoc_TypeVar(app):
" alias of TypeVar('T1')",
'',
'',
- '.. py:data:: T3',
+ '.. py:class:: T3',
' :module: target.typevar',
'',
' T3',
@@ -1943,7 +1943,7 @@ def test_autodoc_TypeVar(app):
" alias of TypeVar('T3', int, str)",
'',
'',
- '.. py:data:: T4',
+ '.. py:class:: T4',
' :module: target.typevar',
'',
' T4',
@@ -1951,7 +1951,7 @@ def test_autodoc_TypeVar(app):
" alias of TypeVar('T4', covariant=True)",
'',
'',
- '.. py:data:: T5',
+ '.. py:class:: T5',
' :module: target.typevar',
'',
' T5',
@@ -1959,7 +1959,7 @@ def test_autodoc_TypeVar(app):
" alias of TypeVar('T5', contravariant=True)",
'',
'',
- '.. py:data:: T6',
+ '.. py:class:: T6',
' :module: target.typevar',
'',
' T6',
@@ -1967,7 +1967,7 @@ def test_autodoc_TypeVar(app):
' alias of :py:class:`~datetime.date`',
'',
'',
- '.. py:data:: T7',
+ '.. py:class:: T7',
' :module: target.typevar',
'',
' T7',