File tree Expand file tree Collapse file tree 1 file changed +0
-4
lines changed Expand file tree Collapse file tree 1 file changed +0
-4
lines changed Original file line number Diff line number Diff line change @@ -4871,8 +4871,6 @@ def test_pep695_generic_with_future_annotations(self):
4871
4871
self .assertEqual (hints_for_B , {"x" : int , "y" : str , "z" : bytes })
4872
4872
4873
4873
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 ())
4876
4874
self .assertEqual (
4877
4875
set (hints_for_C .values ()),
4878
4876
set (ann_module695 .C .__type_params__ )
@@ -4889,8 +4887,6 @@ def test_pep695_generic_with_future_annotations(self):
4889
4887
self .assertIs (hints_for_generic_function ["zz" ].__origin__ , func_t_params [2 ])
4890
4888
4891
4889
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 ())
4894
4890
params = {
4895
4891
param .__name__ : param
4896
4892
for param in ann_module695 .D .generic_method .__type_params__
You can’t perform that action at this time.
0 commit comments