mirror of
https://github.com/python/cpython.git
synced 2025-11-06 04:52:22 +00:00
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 ........
This commit is contained in:
parent
c50e05ea9a
commit
acafc2d3d1
2 changed files with 8 additions and 1 deletions
|
|
@ -336,10 +336,13 @@ class SDistTestCase(PyPIRCCommandTestCase):
|
||||||
# making sure we have the good rights
|
# making sure we have the good rights
|
||||||
archive_name = join(self.tmp_dir, 'dist', 'fake-1.0.tar.gz')
|
archive_name = join(self.tmp_dir, 'dist', 'fake-1.0.tar.gz')
|
||||||
archive = tarfile.open(archive_name)
|
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:
|
try:
|
||||||
for member in archive.getmembers():
|
for member in archive.getmembers():
|
||||||
self.assertEquals(member.uid, os.getuid())
|
self.assertEquals(member.uid, os.getuid())
|
||||||
self.assertEquals(member.gid, os.getgid())
|
|
||||||
finally:
|
finally:
|
||||||
archive.close()
|
archive.close()
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -140,6 +140,10 @@ C-API
|
||||||
Library
|
Library
|
||||||
-------
|
-------
|
||||||
|
|
||||||
|
- Issue #7408: Fixed distutils.tests.sdist so it doesn't check for group
|
||||||
|
ownership when the group is not forced, because the group may be different
|
||||||
|
from the user's group and inherit from its container when the test is run.
|
||||||
|
|
||||||
- Issue #4486: When an exception has an explicit cause, do not print its
|
- Issue #4486: When an exception has an explicit cause, do not print its
|
||||||
implicit context too. This affects the `traceback` module as well as
|
implicit context too. This affects the `traceback` module as well as
|
||||||
built-in exception printing.
|
built-in exception printing.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue