gh-108962: Skip test_tempfile.test_flags() if not supported by vstinner · Pull Request #108964 · python/cpython · GitHub
Skip to content

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

Merged
vstinner merged 3 commits into
python:mainfrom
vstinner:test_tempfile_flags
Sep 5, 2023
Merged

gh-108962: Skip test_tempfile.test_flags() if not supported#108964
vstinner merged 3 commits into
python:mainfrom
vstinner:test_tempfile_flags

Conversation

@vstinner

@vstinner vstinner commented Sep 5, 2023

Copy link
Copy Markdown
Member

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

Skip test_tempfile.test_flags() if chflags() fails with "OSError:
[Errno 45] Operation not supported" (ex: on FreeBSD 13).
@vstinner

vstinner commented Sep 5, 2023

Copy link
Copy Markdown
Member Author

@vstinner
vstinner enabled auto-merge (squash) September 5, 2023 21:29
@vstinner
vstinner merged commit cd2ef21 into python:main Sep 5, 2023
@vstinner
vstinner deleted the test_tempfile_flags branch September 5, 2023 21:59
@vstinner vstinner added OS-freebsd needs backport to 3.11 only security fixes needs backport to 3.12 only security fixes labels Sep 5, 2023
@miss-islington

Copy link
Copy Markdown
Contributor

Thanks @vstinner for the PR 🌮🎉.. I'm working now to backport this PR to: 3.12.
🐍🍒⛏🤖 I'm not a witch! I'm not a witch!

@miss-islington

Copy link
Copy Markdown
Contributor

Thanks @vstinner for the PR 🌮🎉.. I'm working now to backport this PR to: 3.11.
🐍🍒⛏🤖 I'm not a witch! I'm not a witch!

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Sep 5, 2023
…thonGH-108964)

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

Co-authored-by: Victor Stinner <vstinner@python.org>
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Sep 5, 2023
…thonGH-108964)

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

Co-authored-by: Victor Stinner <vstinner@python.org>
@bedevere-bot

Copy link
Copy Markdown

GH-108967 is a backport of this pull request to the 3.12 branch.

@bedevere-bot bedevere-bot removed the needs backport to 3.12 only security fixes label Sep 5, 2023
@bedevere-bot

Copy link
Copy Markdown

GH-108968 is a backport of this pull request to the 3.11 branch.

@bedevere-bot bedevere-bot removed the needs backport to 3.11 only security fixes label Sep 5, 2023
vstinner added a commit that referenced this pull request Sep 8, 2023
…H-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 cd2ef21)

Co-authored-by: Victor Stinner <vstinner@python.org>
@bedevere-bot

Copy link
Copy Markdown

Yhg1s pushed a commit that referenced this pull request Sep 8, 2023
…H-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 cd2ef21)

Co-authored-by: Victor Stinner <vstinner@python.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

OS-freebsd tests Tests in the Lib/test dir

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants