Commit eafae028 authored by Antoine Pitrou's avatar Antoine Pitrou

Merge

parents 2d169b26 61597d3e
......@@ -343,7 +343,7 @@ class TestShutil(unittest.TestCase):
orig_setxattr = os.setxattr
os.setxattr = _raise_on_user_foo
shutil._copyxattr(src, dst)
self.assertEqual(['user.bar'], os.listxattr(dst))
self.assertIn('user.bar', os.listxattr(dst))
finally:
os.setxattr = orig_setxattr
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment