diff --git a/test-data/unit/check-parameter-specification.test b/test-data/unit/check-parameter-specification.test index 261a3723e8781..58a3c85837c30 100644 --- a/test-data/unit/check-parameter-specification.test +++ b/test-data/unit/check-parameter-specification.test @@ -1298,6 +1298,7 @@ reveal_type(bar(C(fn=foo, x=1))) # N: Revealed type is "__main__.C[[x: builtins [builtins fixtures/paramspec.pyi] [case testParamSpecClassConstructor] +# flags: --strict-optional from typing import ParamSpec, Callable P = ParamSpec("P")