Skip to content

Commit 2566af6

Browse files
committed
chore: merge origin/main into PR branch
# Conflicts: # tests/test_cli.py
2 parents 5a2fa15 + 5e5a931 commit 2566af6

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

tests/test_cli.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -575,7 +575,11 @@ def test_main_normalizes_windows_error_statuses(self, raw_returncode: int, monke
575575
}.get(cmd),
576576
)
577577
monkeypatch.setattr("promptfoo.cli.record_wrapper_used", lambda mode: None)
578-
monkeypatch.setattr(subprocess, "run", MagicMock(return_value=subprocess.CompletedProcess([], raw_returncode)))
578+
monkeypatch.setattr(
579+
subprocess,
580+
"run",
581+
MagicMock(return_value=subprocess.CompletedProcess([], raw_returncode)),
582+
)
579583

580584
with pytest.raises(SystemExit) as exc_info:
581585
main()

0 commit comments

Comments
 (0)