Skip to content

Commit fd953ac

Browse files
committed
Adapt tests to s-a-t 1.11.1
1 parent 0257174 commit fd953ac

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ test = [
3131
'typing_extensions; python_version<"3.8"',
3232
]
3333
doc = [
34-
'sphinx-autodoc-typehints>=1.9',
34+
'sphinx-autodoc-typehints>=1.11.1',
3535
'sphinx-rtd-theme',
3636
]
3737

tests/test_elegant_typehints.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,8 +104,8 @@ def fn_test(s: str = "foo", n: None = None, i_: int = 1):
104104
"(default: ``'foo'``)",
105105
":param s: Test S",
106106
":type n: "
107-
r":annotation-terse:`\`\`None\`\``\ "
108-
r":annotation-full:`\`\`None\`\`` "
107+
r":annotation-terse:`:py:obj:\`None\``\ "
108+
r":annotation-full:`:py:obj:\`None\`` "
109109
"(default: ``None``)",
110110
":param n: Test N",
111111
r":type i\_: "

0 commit comments

Comments
 (0)