[Python-checkins] cpython (merge 3.3 -> default): merge 3.3 (#20249)
benjamin.peterson
python-checkins at python.org
Sun Mar 2 01:14:59 CET 2014
http://hg.python.org/cpython/rev/a0abc7555d0e
changeset: 89447:a0abc7555d0e
parent: 89444:a8470f88e7b4
parent: 89445:82bcc626ffd4
user: Benjamin Peterson <benjamin at python.org>
date: Sat Mar 01 19:14:48 2014 -0500
summary:
merge 3.3 (#20249)
files:
Lib/test/test_posix.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Lib/test/test_posix.py b/Lib/test/test_posix.py
--- a/Lib/test/test_posix.py
+++ b/Lib/test/test_posix.py
@@ -1161,7 +1161,7 @@
def test_initgroups(self):
# find missing group
- g = max(self.saved_groups) + 1
+ g = max(self.saved_groups or [0]) + 1
name = pwd.getpwuid(posix.getuid()).pw_name
posix.initgroups(name, g)
self.assertIn(g, posix.getgroups())
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list