Commit 303e2b0c authored by Jason R. Coombs's avatar Jason R. Coombs

Issue #7408: Forward port limited test from Python 2.7, fixing failing...

Issue #7408: Forward port limited test from Python 2.7, fixing failing buildbot tests on BSD-based platforms.
parent 11857584
......@@ -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()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment