(lock_type: type[BaseFileLock], mode: int, expected: int, tmp_path: Path)
| 49 | ], |
| 50 | ) |
| 51 | def test_open_mode(lock_type: type[BaseFileLock], mode: int, expected: int, tmp_path: Path) -> None: |
| 52 | assert lock_type(tmp_path / "a.lock", mode=mode)._open_mode() == expected |
| 53 | |
| 54 | |
| 55 | @pytest.mark.skipif(sys.platform == "win32", reason="Windows does not apply umask to file permissions") |
nothing calls this directly
no test coverage detected