@@ -118,16 +118,8 @@ def test_classify_import_from_groups_consecutive_kinds(self) -> None:
118118 )
119119
120120 assert [(bucket .kind , bucket .names , bucket .as_names ) for bucket in buckets ] == [
121- (
122- IMPORT_NATIVE_SUBMODULE ,
123- ["native_a" , "native_b" ],
124- ["native_a" , "native_b_alias" ],
125- ),
126- (
127- IMPORT_NON_NATIVE ,
128- ["foreign_a" , "foreign_b" ],
129- ["foreign_a" , "foreign_b_alias" ],
130- ),
121+ (IMPORT_NATIVE_SUBMODULE , ["native_a" , "native_b" ], ["native_a" , "native_b_alias" ]),
122+ (IMPORT_NON_NATIVE , ["foreign_a" , "foreign_b" ], ["foreign_a" , "foreign_b_alias" ]),
131123 ]
132124
133125 def test_classify_import_from_treats_missing_name_under_native_parent_as_attr (self ) -> None :
@@ -150,11 +142,7 @@ def test_classify_import_from_without_native_parent_never_uses_native_attr(self)
150142 builder = make_builder ()
151143
152144 buckets = classify_import_from (
153- builder ,
154- "pkg" ,
155- ["attr_name" ],
156- ["attr_alias" ],
157- parent_is_native = False ,
145+ builder , "pkg" , ["attr_name" ], ["attr_alias" ], parent_is_native = False
158146 )
159147
160148 assert [(bucket .kind , bucket .names , bucket .as_names ) for bucket in buckets ] == [
0 commit comments