diff options
Diffstat (limited to 'tests/test_ext_autodoc_autoattribute.py')
-rw-r--r-- | tests/test_ext_autodoc_autoattribute.py | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/tests/test_ext_autodoc_autoattribute.py b/tests/test_ext_autodoc_autoattribute.py index 02443e6c7..0424af01d 100644 --- a/tests/test_ext_autodoc_autoattribute.py +++ b/tests/test_ext_autodoc_autoattribute.py @@ -152,36 +152,6 @@ def test_autoattribute_GenericAlias(app): @pytest.mark.sphinx('html', testroot='ext-autodoc') -def test_autoattribute_NewType(app): - actual = do_autodoc(app, 'attribute', 'target.typevar.Class.T6') - assert list(actual) == [ - '', - '.. py:attribute:: Class.T6', - ' :module: target.typevar', - '', - ' T6', - '', - ' alias of :py:class:`~datetime.date`', - '', - ] - - -@pytest.mark.sphinx('html', testroot='ext-autodoc') -def test_autoattribute_TypeVar(app): - actual = do_autodoc(app, 'attribute', 'target.typevar.Class.T1') - assert list(actual) == [ - '', - '.. py:attribute:: Class.T1', - ' :module: target.typevar', - '', - ' T1', - '', - " alias of TypeVar('T1')", - '', - ] - - -@pytest.mark.sphinx('html', testroot='ext-autodoc') def test_autoattribute_hide_value(app): actual = do_autodoc(app, 'attribute', 'target.hide_value.Foo.SENTINEL1') assert list(actual) == [ |