Skip to content

Commit

Permalink
Merge branch 'develop' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
Anam9 authored Jun 21, 2024
2 parents 0e163ba + 5b98f1d commit 073163a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/ga/test_exthandlers_exthandlerinstance.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ def test_rm_ext_handler_dir_should_report_an_event_if_an_error_occurs_while_dele

def mock_remove(path, dir_fd=None): # pylint: disable=unused-argument
if path.endswith("extension_file2"):
raise IOError("A mocked error")
raise IOError(999,"A mocked error","extension_file2")
original_remove_api(path)

with patch.object(shutil.os, remove_api_name, mock_remove):
Expand Down

0 comments on commit 073163a

Please sign in to comment.