Skip to content

Commit

Permalink
Fix missing type hint
Browse files Browse the repository at this point in the history
  • Loading branch information
JustinVanHeek committed Nov 15, 2024
1 parent c0f5b0a commit bcddae3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/unit/test_network_cache.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ def test_cache_inherit_perms(
assert (os.stat(cache._get_cache_path(key)).st_mode & 0o777) == expected_perms

@pytest.mark.skipif("sys.platform == 'win32'")
def test_cache_not_inherit_perms(self, cache_tmpdir: Path, monkeypatch) -> None:
def test_cache_not_inherit_perms(self, cache_tmpdir: Path, monkeypatch: pytest.MonkeyPatch) -> None:
monkeypatch.setattr(os, "supports_fd", os.supports_fd - {os.chmod})
monkeypatch.setattr(
os, "supports_follow_symlinks", os.supports_follow_symlinks - {os.chmod}
Expand Down

0 comments on commit bcddae3

Please sign in to comment.