(path)
| 1910 | |
| 1911 | |
| 1912 | def _unreadable_file(path): |
| 1913 | path.write_bytes(_valid_tzif_data()) |
| 1914 | os.chmod(str(path), 0) |
| 1915 | if os.access(str(path), os.R_OK): # pragma: nocover |
| 1916 | # e.g. running as root |
| 1917 | pytest.skip("Cannot make a file unreadable here") |
| 1918 | |
| 1919 | |
| 1920 | INVALID_TZPATH_FILES = [ |
nothing calls this directly
no test coverage detected