]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-108962: Skip test_tempfile.test_flags() if not supported (#108964)
authorVictor Stinner <vstinner@python.org>
Tue, 5 Sep 2023 21:59:40 +0000 (23:59 +0200)
committerGitHub <noreply@github.com>
Tue, 5 Sep 2023 21:59:40 +0000 (21:59 +0000)
commitcd2ef21b076b494224985e266c5f5f8b37c66618
tree6b59dc73bde6164ceb19540f2f0454d2310bc439
parentb87263be9b82f778317c2bdf45ecd2ff23d0ba1b
gh-108962: Skip test_tempfile.test_flags() if not supported (#108964)

Skip test_tempfile.test_flags() if chflags() fails with "OSError:
[Errno 45] Operation not supported" (ex: on FreeBSD 13).
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]