From 78191bf41c49558cd0fd53abe068ead161c2277f Mon Sep 17 00:00:00 2001 From: Jelle Zijlstra Date: Fri, 11 Mar 2022 17:49:19 -0800 Subject: [PATCH] bpo-46644: fix test --- Lib/test/test_typing.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/test/test_typing.py b/Lib/test/test_typing.py index c619042928bbde..b212b523048809 100644 --- a/Lib/test/test_typing.py +++ b/Lib/test/test_typing.py @@ -377,7 +377,7 @@ def test_bad_var_substitution(self): 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], )