diff options
author | Antoine Pitrou <solipsis@pitrou.net> | 2012-05-12 21:43:55 (GMT) |
---|---|---|
committer | Antoine Pitrou <solipsis@pitrou.net> | 2012-05-12 21:43:55 (GMT) |
commit | eafae028e0f7704ae64b3f51cea636c17587965e (patch) | |
tree | 78e895bc03e0c5a31fc2c96825a8b112fbebafcc | |
parent | 2d169b268bc760eb6d052d8e11d66fe7b1113ee9 (diff) | |
parent | 61597d3e9282b71126692f5642a6d57ebe633afd (diff) | |
download | cpython-eafae028e0f7704ae64b3f51cea636c17587965e.zip cpython-eafae028e0f7704ae64b3f51cea636c17587965e.tar.gz cpython-eafae028e0f7704ae64b3f51cea636c17587965e.tar.bz2 |
Merge
-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 |