From 50895827ba551a5a8825e7af697bd1a3661de1a3 Mon Sep 17 00:00:00 2001 From: Adam Turner <9087854+aa-turner@users.noreply.github.com> Date: Thu, 25 Apr 2024 03:07:48 +0100 Subject: [PATCH] Mark ``test_restify_Annotated`` as an expected failure --- tests/test_util/test_util_typing.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/test_util/test_util_typing.py b/tests/test_util/test_util_typing.py index eb8126fd0..a6a17ac8f 100644 --- a/tests/test_util/test_util_typing.py +++ b/tests/test_util/test_util_typing.py @@ -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`]'