]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.12] 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 13:14:57 +0000 (06:14 -0700)
committerGitHub <noreply@github.com>
Fri, 8 Sep 2023 13:14:57 +0000 (15:14 +0200)
commitb9dfe60e8d58518794bcb7895c19f1d328cfe4de
tree28fcfd6792af47383ad5640e8697707d7a8a752f
parent0855b2c8b69f02f86f837875acda148479e6a061
[3.12] gh-108962: Skip test_tempfile.test_flags() if not supported (GH-108964) (#108967)

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]