diff --git a/tests/test_executor.py b/tests/test_executor.py index f65f37d8..b3414fea 100644 --- a/tests/test_executor.py +++ b/tests/test_executor.py @@ -193,6 +193,7 @@ def test_executor_gpu_cuda_failure_darwin(self): # Configure the mock path object mock_binary_path = MagicMock(spec=Path) mock_binary_path.chmod.side_effect = FileNotFoundError + mock_binary_path.exists.return_value = False # Mock the execution options to use the mocked path mock_execution_options = MagicMock()