Skip to content

Commit

Permalink
black
Browse files Browse the repository at this point in the history
  • Loading branch information
Dmitry Razdoburdin committed Jul 27, 2023
1 parent a60e815 commit 1e35587
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions tests/run_examples.py
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,9 @@ def run(exdir, logdir, nodist=False, nostream=False):
logfn = jp(logdir, script.replace(".py", ".res"))
with open(logfn, "w") as logfile:
print("\n##### " + jp(dirpath, script))
execute_string = get_exe_cmd(jp(dirpath, script), nodist, nostream)
execute_string = get_exe_cmd(
jp(dirpath, script), nodist, nostream
)
if execute_string:
os.chdir(dirpath)
proc = subprocess.Popen(
Expand All @@ -273,7 +275,8 @@ def run(exdir, logdir, nodist=False, nostream=False):
else:
success += 1
print(
strftime("%H:%M:%S", gmtime()) + "\t" "PASSED\t" + script
strftime("%H:%M:%S", gmtime()) + "\t"
"PASSED\t" + script
)
else:
success += 1
Expand Down

0 comments on commit 1e35587

Please sign in to comment.