summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorAntoine Pitrou <solipsis@pitrou.net>2012-05-12 21:37:35 (GMT)
committerAntoine Pitrou <solipsis@pitrou.net>2012-05-12 21:37:35 (GMT)
commit61597d3e9282b71126692f5642a6d57ebe633afd (patch)
tree44f7775ca526b4fca20165e0c7b9184e54d3a4ba /Lib
parent36c4e38f73b6fcb26359ec12338e34d9cc1b75b9 (diff)
downloadcpython-61597d3e9282b71126692f5642a6d57ebe633afd.zip
cpython-61597d3e9282b71126692f5642a6d57ebe633afd.tar.gz
cpython-61597d3e9282b71126692f5642a6d57ebe633afd.tar.bz2
Try to fix test_shutil failure under Fedora - patch by Hynek.
Diffstat (limited to 'Lib')
-rw-r--r--Lib/test/test_shutil.py2
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