]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
bpo-46644: Fix test_typing test broken by GH-31151 due to a merge race (GH-31833)
authorJelle Zijlstra <jelle.zijlstra@gmail.com>
Sat, 12 Mar 2022 02:17:45 +0000 (18:17 -0800)
committerGitHub <noreply@github.com>
Sat, 12 Mar 2022 02:17:45 +0000 (18:17 -0800)
Lib/test/test_typing.py

index c619042928bbde2e2c9da1ec70c855a8a31ac6e8..b212b52304880953726742b7a71741323d5b2505 100644 (file)
@@ -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],
         )