]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Issue #7408: Forward port limited test from Python 2.7, fixing failing buildbot tests...
authorJason R. Coombs <jaraco@jaraco.com>
Sat, 16 Nov 2013 00:24:07 +0000 (19:24 -0500)
committerJason R. Coombs <jaraco@jaraco.com>
Sat, 16 Nov 2013 00:24:07 +0000 (19:24 -0500)
Lib/distutils/tests/test_sdist.py

index 6170a48fea0e08608ca2d04ba9e5afe36207e6b4..280b9bca907a14838231aa76e41d2b96652bf5c7 100644 (file)
@@ -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()