diff --git a/tests/test_mapping_policies.py b/tests/test_mapping_policies.py index 6b6ae8e..db67e71 100644 --- a/tests/test_mapping_policies.py +++ b/tests/test_mapping_policies.py @@ -137,9 +137,7 @@ def func(alpha: int = 1, *, beta: int = 2) -> str: # TODO: remove in v.0.33 if it happens, otherwise in v1.0. -def test_positional_with_defaults_without_kwonly__no_explicit_policy() -> ( - None -): +def test_positional_with_defaults_without_kwonly__no_explicit_policy() -> None: def func(alpha: str, beta: int = 1) -> str: return f"{alpha} {beta}"