From cb1a9469a6fff052f83e2cd4f41efd504552e550 Mon Sep 17 00:00:00 2001 From: Marc Mueller <30130371+cdce8p@users.noreply.github.com> Date: Wed, 15 Dec 2021 15:36:20 +0100 Subject: [PATCH] Fix ErrorCode test for Python 3.10.1 https://bugs.python.org/issue46004 --- test-data/unit/check-errorcodes.test | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test-data/unit/check-errorcodes.test b/test-data/unit/check-errorcodes.test index 04a895d95638..1ceafaed8dff 100644 --- a/test-data/unit/check-errorcodes.test +++ b/test-data/unit/check-errorcodes.test @@ -36,6 +36,8 @@ reveal_type(1) # N: Revealed type is "Literal[1]?" main:1: error: invalid syntax [syntax] [out version>=3.10] main:1: error: invalid syntax. Perhaps you forgot a comma? [syntax] +[out version>=3.10.1] +main:1: error: invalid syntax [syntax] [case testErrorCodeSyntaxError2] def f(): # E: Type signature has too many arguments [syntax]