We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8b4aab6 commit a14e8f6Copy full SHA for a14e8f6
testing/test_pathlib.py
@@ -578,7 +578,7 @@ def test_scandir_with_non_existent_directory() -> None:
578
assert result == []
579
580
581
-def test_scandir_handles_os_error():
+def test_scandir_handles_os_error() -> None:
582
# Create a mock entry that will raise an OSError when is_file is called
583
mock_entry = unittest.mock.MagicMock()
584
mock_entry.is_file.side_effect = OSError("Permission denied")
0 commit comments