]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-154427: Check the access time in UtimeTests only if it is stored (GH-154428)
authorSerhiy Storchaka <storchaka@gmail.com>
Wed, 22 Jul 2026 07:00:11 +0000 (10:00 +0300)
committerGitHub <noreply@github.com>
Wed, 22 Jul 2026 07:00:11 +0000 (07:00 +0000)
commit6f8f97fe5246837b93e6c2f3525aa9f623ecd30b
tree780dfb1959ae811f80dee0acf026bde4fcdd9ca5
parent458367e60c14fd1b443af4ed7a3fd5135b6d0c35
gh-154427: Check the access time in UtimeTests only if it is stored (GH-154428)

HAMMER2 on DragonFly BSD does not store the access time and os.stat()
returns the modification time instead.  Probe the file system, like it
is already done for the timestamp resolution.

Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
Lib/test/test_os/test_os.py