]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.13] 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:53:39 +0000 (10:53 +0300)
committerGitHub <noreply@github.com>
Wed, 22 Jul 2026 07:53:39 +0000 (07:53 +0000)
commitd1466cc00eb96320cdcd0b144ee5df76295bd4c1
tree3502422da8fcee995deef5915968adac1199a171
parent9d4e8520b2f82f4250728597f008817e8a6c8f3c
[3.13] gh-154427: Check the access time in UtimeTests only if it is stored (GH-154428) (GH-154439)

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.
(cherry picked from commit 6f8f97fe5246837b93e6c2f3525aa9f623ecd30b)

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