mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-12 23:01:41 +00:00
Add error message match for OSError in test
test(cli): pin the message the handle-release test expects
This commit is contained in:
parent
538ec9922b
commit
fe24bcb83e
1 changed files with 1 additions and 1 deletions
|
|
@ -253,7 +253,7 @@ class TestWindowsPidExists:
|
|||
last_error=Mock(return_value=0),
|
||||
)
|
||||
|
||||
with pytest.raises(OSError):
|
||||
with pytest.raises(OSError, match="Invalid argument"):
|
||||
_windows_pid_exists(4321, api)
|
||||
|
||||
close_handle.assert_called_once_with(99)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue