Skip to content

Commit

Permalink
fix test on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
zhenyu-ms committed Jan 3, 2025
1 parent 47b0da7 commit 57444c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/functional/testplan/cli/test_tpsreport.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
)
def test_convert_roundtrip(from_cmd, input_file, to_cmd, ref_file):
input_file = str(DATA_DIR / input_file)
with tempfile.NamedTemporaryFile() as f:
with tempfile.NamedTemporaryFile(delete_on_close=False) as f:
subprocess.run(
["tpsreport", "convert", from_cmd, input_file, to_cmd, f.name],
check=True,
Expand Down

0 comments on commit 57444c5

Please sign in to comment.