changeset: 78134:265e36e277f3 user: Hynek Schlawack date: Mon Jul 16 17:11:10 2012 +0200 files: Lib/test/test_shutil.py description: #15238: Fix xattr related shutil.copystat tests - Loosen up test as Fedora has implicit xattrs - Actually test the destination for xattrs Should make Fedora buildbot green again. diff -r 152c34b84473 -r 265e36e277f3 Lib/test/test_shutil.py --- a/Lib/test/test_shutil.py Mon Jul 16 02:07:41 2012 -0700 +++ b/Lib/test/test_shutil.py Mon Jul 16 17:11:10 2012 +0200 @@ -417,8 +417,7 @@ dst = os.path.join(tmp_dir, 'the_copy') write_file(dst, dst) shutil.copystat(src, dst) - self.assertEqual(os.listxattr(src), ['user.the_value']) - self.assertEqual(os.getxattr(src, 'user.the_value'), b'fiddly') + self.assertEqual(os.getxattr(dst, 'user.the_value'), b'fiddly') @support.skip_unless_symlink @support.skip_unless_xattr