From 5dd28ed76a7358b322ca042545ff39da5e5549fd Mon Sep 17 00:00:00 2001 From: hauntsaninja <> Date: Sat, 29 Aug 2020 14:43:43 -0700 Subject: [PATCH] semanal-types: add testParamSpec --- test-data/unit/semanal-types.test | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/test-data/unit/semanal-types.test b/test-data/unit/semanal-types.test index 87cc757b26db..28f8ee22f848 100644 --- a/test-data/unit/semanal-types.test +++ b/test-data/unit/semanal-types.test @@ -1497,3 +1497,14 @@ MypyFile:1( NameExpr(z [__main__.z]) IntExpr(0) Any)) + + +[case testParamSpec] +from typing import ParamSpec +P = ParamSpec("P") +[out] +MypyFile:1( + ImportFrom:1(typing, [ParamSpec]) + AssignmentStmt:2( + NameExpr(P* [__main__.P]) + ParamSpecExpr:2()))