summaryrefslogtreecommitdiff
path: root/tests/test_util_typing.py
diff options
context:
space:
mode:
authorAdam Turner <9087854+aa-turner@users.noreply.github.com>2022-09-09 09:58:24 +0100
committerAdam Turner <9087854+aa-turner@users.noreply.github.com>2022-09-09 09:58:24 +0100
commit14c9b40f1549d4a51c6816793af011b0e901328b (patch)
tree404af9a945766ee61bc11a08e2b5df14179d1abe /tests/test_util_typing.py
parent5c82449eca73ef448eb7fdfbcc061cb91d70c18c (diff)
parentfe2f96ac99ae3261bca4a66b989149f13abaa212 (diff)
downloadsphinx-git-14c9b40f1549d4a51c6816793af011b0e901328b.tar.gz
Merge branch '5.x'
# Conflicts: # setup.py # sphinx/application.py # sphinx/environment/__init__.py # sphinx/ext/autodoc/directive.py # tests/test_build_html.py
Diffstat (limited to 'tests/test_util_typing.py')
-rw-r--r--tests/test_util_typing.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_util_typing.py b/tests/test_util_typing.py
index c1127d992..a70f01431 100644
--- a/tests/test_util_typing.py
+++ b/tests/test_util_typing.py
@@ -302,8 +302,8 @@ def test_stringify_type_hints_pep_585():
@pytest.mark.skipif(sys.version_info < (3, 9), reason='python 3.9+ is required.')
def test_stringify_Annotated():
from typing import Annotated # type: ignore
- assert stringify(Annotated[str, "foo", "bar"]) == "str" # NOQA
- assert stringify(Annotated[str, "foo", "bar"], "smart") == "str" # NOQA
+ assert stringify(Annotated[str, "foo", "bar"]) == "str"
+ assert stringify(Annotated[str, "foo", "bar"], "smart") == "str"
def test_stringify_type_hints_string():