summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorJason R. Coombs <jaraco@jaraco.com>2013-11-16 00:24:07 (GMT)
committerJason R. Coombs <jaraco@jaraco.com>2013-11-16 00:24:07 (GMT)
commitcb37641bb4970c27efabd4214abbce800bb3cb4c (patch)
treec7867ed7d567380973bcddb2dc841688edf344ea /Lib
parent72967a4c1ad2b4d17fbaa922e7bda45472f1fe1d (diff)
downloadcpython-cb37641bb4970c27efabd4214abbce800bb3cb4c.zip
cpython-cb37641bb4970c27efabd4214abbce800bb3cb4c.tar.gz
cpython-cb37641bb4970c27efabd4214abbce800bb3cb4c.tar.bz2
Issue #7408: Forward port limited test from Python 2.7, fixing failing buildbot tests on BSD-based platforms.
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 6170a48..280b9bc 100644
--- a/Lib/distutils/tests/test_sdist.py
+++ b/Lib/distutils/tests/test_sdist.py
@@ -471,10 +471,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()