summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAntoine Pitrou <solipsis@pitrou.net>2012-05-12 21:43:55 (GMT)
committerAntoine Pitrou <solipsis@pitrou.net>2012-05-12 21:43:55 (GMT)
commiteafae028e0f7704ae64b3f51cea636c17587965e (patch)
tree78e895bc03e0c5a31fc2c96825a8b112fbebafcc
parent2d169b268bc760eb6d052d8e11d66fe7b1113ee9 (diff)
parent61597d3e9282b71126692f5642a6d57ebe633afd (diff)
downloadcpython-eafae028e0f7704ae64b3f51cea636c17587965e.zip
cpython-eafae028e0f7704ae64b3f51cea636c17587965e.tar.gz
cpython-eafae028e0f7704ae64b3f51cea636c17587965e.tar.bz2
Merge
-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