Skip to content

Commit

Permalink
fix CI-found bug
Browse files Browse the repository at this point in the history
  • Loading branch information
tfogal committed Dec 14, 2024
1 parent 0474620 commit 77ff13b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion thunder/tests/test_dynamo.py
Original file line number Diff line number Diff line change
Expand Up @@ -917,7 +917,8 @@ def func(x):

def check(file_name, cmd):
assert os.path.exists(file_name)
result = subprocess.run([cmd, file_name], stdout=subprocess.PIPE, stderr=subprocess.STDOUT, text=True)
cmd = cmd + [file_name]
result = subprocess.run(cmd, stdout=subprocess.PIPE, stderr=subprocess.STDOUT, text=True)
assert result.returncode == 0, f"Reproducer {file_name} failed: {result}"

s1 = f"{tmp_path}/graph0_thunder_0.py"
Expand Down

0 comments on commit 77ff13b

Please sign in to comment.