Skip to content
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.

Commit

Permalink
Fix the syntax errors
Browse files Browse the repository at this point in the history
  • Loading branch information
ArmageddonKnight committed May 9, 2020
1 parent 4e61242 commit 6ab28ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/python/unittest/test_memory_opt.py
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ def grep_exec_memory_consumption(exec):
import re # We will be using regular expressions for grepping the model
# memory consumption.
alloc_line_pattern = re.compile("Total \d+ MB allocated")
for line in exec_debug_str():
for line in exec_debug_str:
if alloc_line_pattern.match(line) is not None:
return int(line.split()[1])
assert False, "Unable to gerp the memory consumption numbers from the executor " \
Expand Down

0 comments on commit 6ab28ea

Please sign in to comment.