[Python-checkins] bpo-46644: Fix test_typing test broken by GH-31151 due to a merge race (GH-31833)
JelleZijlstra
webhook-mailer at python.org
Fri Mar 11 21:17:54 EST 2022
https://github.com/python/cpython/commit/75174371e6cac935b598a68c1113f6db1e0d6ed8
commit: 75174371e6cac935b598a68c1113f6db1e0d6ed8
branch: main
author: Jelle Zijlstra <jelle.zijlstra at gmail.com>
committer: JelleZijlstra <jelle.zijlstra at gmail.com>
date: 2022-03-11T18:17:45-08:00
summary:
bpo-46644: Fix test_typing test broken by GH-31151 due to a merge race (GH-31833)
files:
M Lib/test/test_typing.py
diff --git a/Lib/test/test_typing.py b/Lib/test/test_typing.py
index c619042928bbd..b212b52304880 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],
)
More information about the Python-checkins
mailing list