From: Antoine Pitrou Date: Sat, 12 May 2012 21:37:35 +0000 (+0200) Subject: Try to fix test_shutil failure under Fedora - patch by Hynek. X-Git-Tag: v3.3.0a4~195^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=61597d3e9282b71126692f5642a6d57ebe633afd;p=thirdparty%2FPython%2Fcpython.git Try to fix test_shutil failure under Fedora - patch by Hynek. --- diff --git a/Lib/test/test_shutil.py b/Lib/test/test_shutil.py index 59d83e899910..3b4e381a0b47 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