mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Mark `test_restify_Annotated
` as an expected failure
This commit is contained in:
parent
6b70620993
commit
50895827ba
@ -187,6 +187,7 @@ def test_restify_type_hints_containers():
|
||||
"[:py:obj:`None`]")
|
||||
|
||||
|
||||
@pytest.mark.xfail(sys.version_info[:2] <= (3, 11), reason='Needs fixing.')
|
||||
def test_restify_Annotated():
|
||||
assert restify(Annotated[str, "foo", "bar"]) == ':py:class:`~typing.Annotated`\\ [:py:class:`str`]'
|
||||
assert restify(Annotated[str, "foo", "bar"], 'smart') == ':py:class:`~typing.Annotated`\\ [:py:class:`str`]'
|
||||
|
Loading…
Reference in New Issue
Block a user