MCPcopy Index your code
hub / github.com/RustPython/RustPython / skip_unless_xattr

Function skip_unless_xattr

Lib/test/support/os_helper.py:254–258  ·  view source on GitHub ↗

Skip decorator for tests that require functional extended attributes

(test)

Source from the content-addressed store, hash-verified

252
253
254def skip_unless_xattr(test):
255 """Skip decorator for tests that require functional extended attributes"""
256 ok = can_xattr()
257 msg = "no non-broken extended attribute support"
258 return test if ok else unittest.skip(msg)(test)
259
260
261_can_chmod = None

Callers

nothing calls this directly

Calls 2

can_xattrFunction · 0.85
skipMethod · 0.45

Tested by

no test coverage detected