diff options
author | Antoine Pitrou <solipsis@pitrou.net> | 2012-05-12 21:37:35 (GMT) |
---|---|---|
committer | Antoine Pitrou <solipsis@pitrou.net> | 2012-05-12 21:37:35 (GMT) |
commit | 61597d3e9282b71126692f5642a6d57ebe633afd (patch) | |
tree | 44f7775ca526b4fca20165e0c7b9184e54d3a4ba | |
parent | 36c4e38f73b6fcb26359ec12338e34d9cc1b75b9 (diff) | |
download | cpython-61597d3e9282b71126692f5642a6d57ebe633afd.zip cpython-61597d3e9282b71126692f5642a6d57ebe633afd.tar.gz cpython-61597d3e9282b71126692f5642a6d57ebe633afd.tar.bz2 |
Try to fix test_shutil failure under Fedora - patch by Hynek.
-rw-r--r-- | Lib/test/test_shutil.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_shutil.py b/Lib/test/test_shutil.py index 59d83e8..3b4e381 100644 --- a/Lib/test/test_shutil.py +++ b/Lib/test/test_shutil.py @@ -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 |