[Python-modules-commits] [python-llfuse] 01/16: Skip extended attribute tests under GNU/kFreeBSD
Nikolaus Rath
nikratio-guest at moszumanska.debian.org
Tue Mar 8 17:38:01 UTC 2016
This is an automated email from the git hooks/post-receive script.
nikratio-guest pushed a commit to branch master
in repository python-llfuse.
commit e599445631b51ff25333e801d27a79ff534071bf
Author: Nikolaus Rath <Nikolaus at rath.org>
Date: Mon Mar 7 13:22:36 2016 -0800
Skip extended attribute tests under GNU/kFreeBSD
Origin: Debian
Forwarded: not-needed
Under GNU/kFreeBSD the setxattr and getxattr functions are dummies
that return ENOTIMPL.
---
test/test_api.py | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/test/test_api.py b/test/test_api.py
index 990b000..ec6a323 100755
--- a/test/test_api.py
+++ b/test/test_api.py
@@ -58,7 +58,8 @@ def _getxattr_helper(path, name):
return value
-
+ at pytest.mark.skipif(sys.platform.startswith('gnukfreebsd'),
+ reason='GNU/kFreeBSD does not have xattr support')
def test_xattr():
with tempfile.NamedTemporaryFile() as fh:
key = 'user.new_attribute'
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/python-llfuse.git
More information about the Python-modules-commits
mailing list