Skip to content

Commit a14e8f6

Browse files
delta87nicoddemus
andcommitted
Update testing/test_pathlib.py
Co-authored-by: Bruno Oliveira <[email protected]>
1 parent 8b4aab6 commit a14e8f6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

testing/test_pathlib.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -578,7 +578,7 @@ def test_scandir_with_non_existent_directory() -> None:
578578
assert result == []
579579

580580

581-
def test_scandir_handles_os_error():
581+
def test_scandir_handles_os_error() -> None:
582582
# Create a mock entry that will raise an OSError when is_file is called
583583
mock_entry = unittest.mock.MagicMock()
584584
mock_entry.is_file.side_effect = OSError("Permission denied")

0 commit comments

Comments
 (0)