From 61597d3e9282b71126692f5642a6d57ebe633afd Mon Sep 17 00:00:00 2001 From: Antoine Pitrou Date: Sat, 12 May 2012 23:37:35 +0200 Subject: [PATCH] Try to fix test_shutil failure under Fedora - patch by Hynek. --- Lib/test/test_shutil.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/test/test_shutil.py b/Lib/test/test_shutil.py index 59d83e89991..3b4e381a0b4 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