In Copr, skip tests that fail with OSError: [Errno 95] Operation not supported
We regularly needed to comment out the tests in pyxattr
to make it build in the @python/python3.N+1 copr.
This way, we no longer need to treat this package as a special case.
The failures look like this:
_________________ test_binary_payload[file via symlink (path)] _________________
subject = (PurePosixPath('/builddir/build/BUILD/pyxattr-0.7.2/tmpfmkeynlv/xattr-jqzu5alt.test.symlink'), False)
def test_binary_payload(subject):
"""test binary values"""
item = subject[0]
BINVAL = b"abc\0def"
> xattr.set(item, USER_ATTR, BINVAL)
E OSError: [Errno 95] Operation not supported
tests/test_xattr.py:432: OSError
======================= 146 failed, 141 passed in 1.39s ========================