Skip to content

Commit ffdba91

Browse files
authored
remove redundant assertions in test
1 parent 4f95b1c commit ffdba91

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
@@ -4869,8 +4869,6 @@ def test_pep695_generic_with_future_annotations(self):
48694869
self.assertEqual(hints_for_B, {"x": int, "y": str, "z": bytes})
48704870

48714871
hints_for_C = get_type_hints(ann_module695.C)
4872-
self.assertNotIn(int, hints_for_C.values())
4873-
self.assertNotIn(str, hints_for_C.values())
48744872
self.assertEqual(
48754873
set(hints_for_C.values()),
48764874
set(ann_module695.C.__type_params__)
@@ -4887,8 +4885,6 @@ def test_pep695_generic_with_future_annotations(self):
48874885
self.assertIs(hints_for_generic_function["zz"].__origin__, func_t_params[2])
48884886

48894887
hints_for_generic_method = get_type_hints(ann_module695.D.generic_method)
4890-
self.assertNotIn(int, hints_for_generic_method.values())
4891-
self.assertNotIn(str, hints_for_generic_method.values())
48924888
params = {
48934889
param.__name__: param
48944890
for param in ann_module695.D.generic_method.__type_params__

0 commit comments

Comments
 (0)