Skip to content

Commit ea10f10

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 93a6a5e commit ea10f10

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

tests/test_sphinx_autodoc_typehints.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,13 @@ def method(self: T) -> T:
128128
pytest.param(Callable, "typing", "Callable", (), id="Callable"),
129129
pytest.param(Callable[..., str], "typing", "Callable", (..., str), id="Callable_returntype"),
130130
pytest.param(Callable[[int, str], str], "typing", "Callable", (int, str, str), id="Callable_all_types"),
131-
pytest.param(collections.abc.Callable[[int, str], str], "collections.abc", "Callable", (int, str, str), id="collections.abc.Callable_all_types"),
131+
pytest.param(
132+
collections.abc.Callable[[int, str], str],
133+
"collections.abc",
134+
"Callable",
135+
(int, str, str),
136+
id="collections.abc.Callable_all_types",
137+
),
132138
pytest.param(Pattern, "typing", "Pattern", (), id="Pattern"),
133139
pytest.param(Pattern[str], "typing", "Pattern", (str,), id="Pattern_parametrized"),
134140
pytest.param(Match, "typing", "Match", (), id="Match"),

0 commit comments

Comments
 (0)