]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.14] gh-154427: Check the access time in UtimeTests only if it is stored (GH-154428...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Wed, 22 Jul 2026 07:27:24 +0000 (09:27 +0200)
committerGitHub <noreply@github.com>
Wed, 22 Jul 2026 07:27:24 +0000 (07:27 +0000)
commitd806051e472ba0275553dc1bf2bf8dabe441d804
tree0ffc2a51deca23f9bc959fcf2bdb2e9c3c3c8ca2
parentab4921de77f707016789f5f93efb6497d921b927
[3.14] gh-154427: Check the access time in UtimeTests only if it is stored (GH-154428) (GH-154433)

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: Serhiy Storchaka <storchaka@gmail.com>
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
Lib/test/test_os.py