Skip to content

Commit 0a22e7f

Browse files
committed
fix style
1 parent e757ac2 commit 0a22e7f

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

examples/neural_compressor/test_examples.py

+6-6
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ def test_run_glue(self):
7878

7979
with patch.object(sys, "argv", test_args):
8080
run_glue.main()
81-
results = get_results(tmp_dir)
81+
get_results(tmp_dir)
8282

8383
def test_run_qa(self):
8484
with tempfile.TemporaryDirectory() as tmp_dir:
@@ -103,7 +103,7 @@ def test_run_qa(self):
103103

104104
with patch.object(sys, "argv", test_args):
105105
run_qa.main()
106-
results = get_results(tmp_dir)
106+
get_results(tmp_dir)
107107

108108
def test_run_ner(self):
109109
with tempfile.TemporaryDirectory() as tmp_dir:
@@ -128,7 +128,7 @@ def test_run_ner(self):
128128

129129
with patch.object(sys, "argv", test_args):
130130
run_ner.main()
131-
results = get_results(tmp_dir)
131+
get_results(tmp_dir)
132132

133133
def test_run_swag(self):
134134
with tempfile.TemporaryDirectory() as tmp_dir:
@@ -152,7 +152,7 @@ def test_run_swag(self):
152152

153153
with patch.object(sys, "argv", test_args):
154154
run_swag.main()
155-
results = get_results(tmp_dir)
155+
get_results(tmp_dir)
156156

157157
def test_run_clm(self):
158158
quantization_approach = "dynamic"
@@ -181,7 +181,7 @@ def test_run_clm(self):
181181

182182
with patch.object(sys, "argv", test_args):
183183
run_clm.main()
184-
results = get_results(tmp_dir)
184+
get_results(tmp_dir)
185185

186186
def test_run_mlm(self):
187187
quantization_approach = "static"
@@ -210,7 +210,7 @@ def test_run_mlm(self):
210210

211211
with patch.object(sys, "argv", test_args):
212212
run_mlm.main()
213-
results = get_results(tmp_dir)
213+
get_results(tmp_dir)
214214

215215

216216
if __name__ == "__main__":

0 commit comments

Comments
 (0)