From: Jelle Zijlstra Date: Sat, 12 Mar 2022 02:17:45 +0000 (-0800) Subject: bpo-46644: Fix test_typing test broken by GH-31151 due to a merge race (GH-31833) X-Git-Tag: v3.11.0a7~269 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=75174371e6cac935b598a68c1113f6db1e0d6ed8;p=thirdparty%2FPython%2Fcpython.git bpo-46644: Fix test_typing test broken by GH-31151 due to a merge race (GH-31833) --- diff --git a/Lib/test/test_typing.py b/Lib/test/test_typing.py index c619042928bb..b212b5230488 100644 --- a/Lib/test/test_typing.py +++ b/Lib/test/test_typing.py @@ -377,7 +377,7 @@ class TypeVarTests(BaseTestCase): T = TypeVar('T') P = ParamSpec("P") bad_args = ( - 42, ..., [int], (), (int, str), Union, + (), (int, str), Union, Generic, Generic[T], Protocol, Protocol[T], Final, Final[int], ClassVar, ClassVar[int], )