@@ -91,25 +91,27 @@ def test_unmatched(pair):
9191 check_iou (pair )
9292
9393
94- @parametrize ("pair" ,
95- strings_to_fixtures ([
96- "empty_radio_label" ,
97- "matching_radio" ,
98- "empty_radio_prediction" ,
99- ]))
94+ @parametrize (
95+ "pair" ,
96+ strings_to_fixtures ([
97+ "empty_radio_label" ,
98+ "matching_radio" ,
99+ "empty_radio_prediction" ,
100+ ]))
100101def test_radio (pair ):
101102 check_iou (pair )
102103
103104
104- @parametrize ("pair" ,
105- strings_to_fixtures ([
106- "matching_checklist" ,
107- "partially_matching_checklist_1" ,
108- "partially_matching_checklist_2" ,
109- "partially_matching_checklist_3" ,
110- "empty_checklist_label" ,
111- "empty_checklist_prediction" ,
112- ]))
105+ @parametrize (
106+ "pair" ,
107+ strings_to_fixtures ([
108+ "matching_checklist" ,
109+ "partially_matching_checklist_1" ,
110+ "partially_matching_checklist_2" ,
111+ "partially_matching_checklist_3" ,
112+ "empty_checklist_label" ,
113+ "empty_checklist_prediction" ,
114+ ]))
113115def test_checklist (pair ):
114116 check_iou_checklist (pair )
115117
@@ -120,9 +122,10 @@ def test_text(pair):
120122 check_iou (pair )
121123
122124
123- @parametrize ("pair" ,
124- strings_to_fixtures (
125- ["test_box_with_wrong_subclass" , "test_box_with_subclass" ]))
125+ @parametrize (
126+ "pair" ,
127+ strings_to_fixtures (
128+ ["test_box_with_wrong_subclass" , "test_box_with_subclass" ]))
126129def test_vector_with_subclass (pair ):
127130 check_iou (pair )
128131
@@ -132,8 +135,9 @@ def test_others(pair):
132135 check_iou (pair )
133136
134137
135- @parametrize ("pair" ,
136- strings_to_fixtures (
137- ["matching_ner" , "no_matching_ner" , "partial_matching_ner" ]))
138+ @parametrize (
139+ "pair" ,
140+ strings_to_fixtures (
141+ ["matching_ner" , "no_matching_ner" , "partial_matching_ner" ]))
138142def test_ner (pair ):
139143 check_iou (pair )
0 commit comments