summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorTarek Ziadé <ziade.tarek@gmail.com>2009-11-29 22:20:30 (GMT)
committerTarek Ziadé <ziade.tarek@gmail.com>2009-11-29 22:20:30 (GMT)
commita5076a2543e9d52128b875bc4b3b0521ed3a2b12 (patch)
treeea35399f6744926c4d5aa3ba9f36d1075f921941 /Lib
parentc4ab8339e9a966d9d8e601531489a5436d197f47 (diff)
downloadcpython-a5076a2543e9d52128b875bc4b3b0521ed3a2b12.zip
cpython-a5076a2543e9d52128b875bc4b3b0521ed3a2b12.tar.gz
cpython-a5076a2543e9d52128b875bc4b3b0521ed3a2b12.tar.bz2
Fixed #7408: dropped group ownership checking because it relies on os-specific rules
Diffstat (limited to 'Lib')
-rw-r--r--Lib/distutils/tests/test_sdist.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/Lib/distutils/tests/test_sdist.py b/Lib/distutils/tests/test_sdist.py
index b8e3dca..20b20aa 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()