MCPcopy Index your code
hub / github.com/python/cpython / skip_unless_xattr

Function skip_unless_xattr

Lib/test/support/os_helper.py:255–259  ·  view source on GitHub ↗

Skip decorator for tests that require functional extended attributes

(test)

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 2

can_xattrFunction · 0.85
skipMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…