]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.11] gh-108962: Skip test_tempfile.test_flags() if not supported (GH-108964) (...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Fri, 8 Sep 2023 07:07:54 +0000 (00:07 -0700)
committerGitHub <noreply@github.com>
Fri, 8 Sep 2023 07:07:54 +0000 (07:07 +0000)
commit9dd28d2da941160abf0b5f54b1e7e3a7ef4465fb
treee31511ee0ae86104571a6cb7861c1cc336e75d1f
parenteffa2ecdcf0d019d6ed04ca160f789af57e959de
[3.11] gh-108962: Skip test_tempfile.test_flags() if not supported (GH-108964) (#108968)

gh-108962: Skip test_tempfile.test_flags() if not supported (GH-108964)

Skip test_tempfile.test_flags() if chflags() fails with "OSError:
[Errno 45] Operation not supported" (ex: on FreeBSD 13).
(cherry picked from commit cd2ef21b076b494224985e266c5f5f8b37c66618)

Co-authored-by: Victor Stinner <vstinner@python.org>
Lib/test/test_tempfile.py
Misc/NEWS.d/next/Tests/2023-09-05-23-00-09.gh-issue-108962.R4NwuU.rst [new file with mode: 0644]