Skip to content

Commit bed729f

Browse files
authored
Fix variable name (#1309)
1 parent f1d7ac4 commit bed729f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/benchmark/test_benchmark.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -255,8 +255,8 @@ def test_benchmark_without_yaml(self):
255255
os.system("python fake2.py --input_model={} 2>&1 | tee benchmark.log".format(self.graph_path))
256256
with open('benchmark.log', "r") as f:
257257
for line in f:
258-
accuracy = re.search(r"Throughput: (\d+(\.\d+)?)", line)
259-
self.assertIsNotNone(accuracy)
258+
throughput = re.search(r"Throughput: (\d+(\.\d+)?)", line)
259+
self.assertIsNotNone(throughput)
260260
os.system("rm *.log")
261261

262262
def test_benchmark_with_conf(self):

0 commit comments

Comments
 (0)