Skip to content

Commit b05ca1a

Browse files
committed
Merge branch 'gettypehints-bug' of https://github.com/AlexWaygood/cpython into gettypehints-bug
2 parents 5505d97 + ffdba91 commit b05ca1a

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

Lib/test/test_typing.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4871,8 +4871,6 @@ def test_pep695_generic_with_future_annotations(self):
48714871
self.assertEqual(hints_for_B, {"x": int, "y": str, "z": bytes})
48724872

48734873
hints_for_C = get_type_hints(ann_module695.C)
4874-
self.assertNotIn(int, hints_for_C.values())
4875-
self.assertNotIn(str, hints_for_C.values())
48764874
self.assertEqual(
48774875
set(hints_for_C.values()),
48784876
set(ann_module695.C.__type_params__)
@@ -4889,8 +4887,6 @@ def test_pep695_generic_with_future_annotations(self):
48894887
self.assertIs(hints_for_generic_function["zz"].__origin__, func_t_params[2])
48904888

48914889
hints_for_generic_method = get_type_hints(ann_module695.D.generic_method)
4892-
self.assertNotIn(int, hints_for_generic_method.values())
4893-
self.assertNotIn(str, hints_for_generic_method.values())
48944890
params = {
48954891
param.__name__: param
48964892
for param in ann_module695.D.generic_method.__type_params__

0 commit comments

Comments
 (0)