Skip to content

test_tempfile.test_flags() fails on FreeBSD: Operation not supported #108962

Closed
@vstinner

Description

@vstinner

On FreeBSD 13.2-RELEASE:

ERROR: test_flags (test.test_tempfile.TestTemporaryDirectory.test_flags)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/buildbot/buildarea/3.x.ware-freebsd/build/Lib/test/test_tempfile.py", line 1845, in test_flags
    os.chflags(os.path.join(root, name), flags)
OSError: [Errno 45] Operation not supported: '/tmp/test_python_s_sfxawg/8s2ad168/dir1/dir1/dir1/test0.txt'

logs: https://buildbot.python.org/all/#/builders/1223/builds/1

I'm working on a fix.

See also issue #108948.

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    Labels

    OS-freebsdtestsTests in the Lib/test dirtype-bugAn unexpected behavior, bug, or error

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions