@@ -78,7 +78,7 @@ def test_run_glue(self):
78
78
79
79
with patch .object (sys , "argv" , test_args ):
80
80
run_glue .main ()
81
- results = get_results (tmp_dir )
81
+ get_results (tmp_dir )
82
82
83
83
def test_run_qa (self ):
84
84
with tempfile .TemporaryDirectory () as tmp_dir :
@@ -103,7 +103,7 @@ def test_run_qa(self):
103
103
104
104
with patch .object (sys , "argv" , test_args ):
105
105
run_qa .main ()
106
- results = get_results (tmp_dir )
106
+ get_results (tmp_dir )
107
107
108
108
def test_run_ner (self ):
109
109
with tempfile .TemporaryDirectory () as tmp_dir :
@@ -128,7 +128,7 @@ def test_run_ner(self):
128
128
129
129
with patch .object (sys , "argv" , test_args ):
130
130
run_ner .main ()
131
- results = get_results (tmp_dir )
131
+ get_results (tmp_dir )
132
132
133
133
def test_run_swag (self ):
134
134
with tempfile .TemporaryDirectory () as tmp_dir :
@@ -152,7 +152,7 @@ def test_run_swag(self):
152
152
153
153
with patch .object (sys , "argv" , test_args ):
154
154
run_swag .main ()
155
- results = get_results (tmp_dir )
155
+ get_results (tmp_dir )
156
156
157
157
def test_run_clm (self ):
158
158
quantization_approach = "dynamic"
@@ -181,7 +181,7 @@ def test_run_clm(self):
181
181
182
182
with patch .object (sys , "argv" , test_args ):
183
183
run_clm .main ()
184
- results = get_results (tmp_dir )
184
+ get_results (tmp_dir )
185
185
186
186
def test_run_mlm (self ):
187
187
quantization_approach = "static"
@@ -210,7 +210,7 @@ def test_run_mlm(self):
210
210
211
211
with patch .object (sys , "argv" , test_args ):
212
212
run_mlm .main ()
213
- results = get_results (tmp_dir )
213
+ get_results (tmp_dir )
214
214
215
215
216
216
if __name__ == "__main__" :
0 commit comments