diff options
author | Tarek Ziadé <ziade.tarek@gmail.com> | 2009-11-29 22:24:57 (GMT) |
---|---|---|
committer | Tarek Ziadé <ziade.tarek@gmail.com> | 2009-11-29 22:24:57 (GMT) |
commit | acafc2d3d114fbbdf65bd1d77a6bbf39b94971f6 (patch) | |
tree | 6924907b06f9a97583ec70088192f7be4ba48aba /Lib/distutils | |
parent | c50e05ea9acbc10e86da3f861662e197f36f0cd9 (diff) | |
download | cpython-acafc2d3d114fbbdf65bd1d77a6bbf39b94971f6.zip cpython-acafc2d3d114fbbdf65bd1d77a6bbf39b94971f6.tar.gz cpython-acafc2d3d114fbbdf65bd1d77a6bbf39b94971f6.tar.bz2 |
Merged revisions 76588 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r76588 | tarek.ziade | 2009-11-29 23:20:30 +0100 (Sun, 29 Nov 2009) | 1 line
Fixed #7408: dropped group ownership checking because it relies on os-specific rules
........
Diffstat (limited to 'Lib/distutils')
-rw-r--r-- | Lib/distutils/tests/test_sdist.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Lib/distutils/tests/test_sdist.py b/Lib/distutils/tests/test_sdist.py index c10e973..e0f1e93 100644 --- a/Lib/distutils/tests/test_sdist.py +++ b/Lib/distutils/tests/test_sdist.py @@ -336,10 +336,13 @@ class SDistTestCase(PyPIRCCommandTestCase): # making sure we have the good rights archive_name = join(self.tmp_dir, 'dist', 'fake-1.0.tar.gz') archive = tarfile.open(archive_name) + + # note that we are not testing the group ownership here + # because, depending on the platforms and the container + # rights (see #7408) try: for member in archive.getmembers(): self.assertEquals(member.uid, os.getuid()) - self.assertEquals(member.gid, os.getgid()) finally: archive.close() |