2026-11-05T02:14:01.1201120Z ##[group]Run pytest -q
2026-11-05T02:14:01.1202340Z pytest -q
2026-11-05T02:14:01.1300000Z shell: C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -command ". '{0}'"
2026-11-05T02:14:01.1302000Z env:
2026-11-05T02:14:01.1303000Z   pythonLocation: C:\hostedtoolcache\windows\Python\3.12.7\x64
2026-11-05T02:14:01.1304000Z   RUNNER_OS: Windows
2026-11-05T02:14:01.1305000Z   RUNNER_ARCH: X64
2026-11-05T02:14:02.0100000Z ============================= test session starts =============================
2026-11-05T02:14:02.0200000Z platform win32 -- Python 3.12.7, pytest-8.3.3, pluggy-1.5.0
2026-11-05T02:14:02.0300000Z rootdir: D:\a\toy-pathutil\toy-pathutil
2026-11-05T02:14:02.0400000Z collected 3 items
2026-11-05T02:14:02.0500000Z 
2026-11-05T02:14:02.1000000Z tests/test_pathutil.py .FF                                              [100%]
2026-11-05T02:14:02.1100000Z 
2026-11-05T02:14:02.1200000Z ================================== FAILURES ===================================
2026-11-05T02:14:02.1300000Z _________________ test_snapshot_uri_uses_forward_slash _________________
2026-11-05T02:14:02.1400000Z 
2026-11-05T02:14:02.1500000Z tmp_path = WindowsPath('C:/Users/runneradmin/AppData/Local/Temp/pytest-0/test_snapshot_uri_uses_forward_slash0')
2026-11-05T02:14:02.1600000Z 
2026-11-05T02:14:02.1700000Z     def test_snapshot_uri_uses_forward_slash(tmp_path: Path):
2026-11-05T02:14:02.1800000Z         pathutil.write_snapshot(tmp_path, "run-1.txt", "ok")
2026-11-05T02:14:02.1900000Z         uri = pathutil.snapshot_uri(tmp_path, "run-1.txt")
2026-11-05T02:14:02.2000000Z >       assert "/snapshots/" in uri, uri
2026-11-05T02:14:02.2100000Z E       AssertionError: file://C:\Users\runneradmin\AppData\Local\Temp\pytest-0\test_snapshot_uri_uses_forward_slash0\snapshots\run-1.txt
2026-11-05T02:14:02.2200000Z E       assert '/snapshots/' in 'file://C:\\Users\\runneradmin\\AppData\\Local\\Temp\\pytest-0\\test_snapshot_uri_uses_forward_slash0\\snapshots\\run-1.txt'
2026-11-05T02:14:02.2300000Z 
2026-11-05T02:14:02.2400000Z tests\test_pathutil.py:12: AssertionError
2026-11-05T02:14:02.2500000Z __________________________ test_cache_dir_writable ___________________________
2026-11-05T02:14:02.2600000Z 
2026-11-05T02:14:02.2700000Z     def test_cache_dir_writable():
2026-11-05T02:14:02.2800000Z         d = pathutil.cache_dir()
2026-11-05T02:14:02.2900000Z >       d.mkdir(parents=True, exist_ok=True)
2026-11-05T02:14:02.3000000Z E       PermissionError: [WinError 5] Access is denied: 'C:\\tmp'
2026-11-05T02:14:02.3100000Z 
2026-11-05T02:14:02.3200000Z tests\test_pathutil.py:18: PermissionError
2026-11-05T02:14:02.3300000Z =========================== short test summary info ===========================
2026-11-05T02:14:02.3400000Z FAILED tests/test_pathutil.py::test_snapshot_uri_uses_forward_slash - AssertionError: file://C:\Users\runneradmin\AppData\Local\Temp\pytest-0\test_snapshot_uri_uses_forward_slash0\snapshots\run-1.txt
2026-11-05T02:14:02.3500000Z FAILED tests/test_pathutil.py::test_cache_dir_writable - PermissionError: [WinError 5] Access is denied: 'C:\\tmp'
2026-11-05T02:14:02.3600000Z ========================= 2 failed, 1 passed in 0.12s =========================
2026-11-05T02:14:02.3700000Z ##[error]Process completed with exit code 1.
