Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
4a03c7d4
Commit
4a03c7d4
authored
Mar 23, 2013
by
Benjamin Peterson
Browse files
Options
Browse Files
Download
Plain Diff
merge 2.7.4 release branch
parents
e48b2c29
01d9a775
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
4 deletions
+5
-4
Lib/test/test_grp.py
Lib/test/test_grp.py
+1
-1
Lib/test/test_pwd.py
Lib/test/test_pwd.py
+2
-2
Misc/NEWS
Misc/NEWS
+2
-1
No files found.
Lib/test/test_grp.py
View file @
4a03c7d4
...
@@ -16,7 +16,7 @@ class GroupDatabaseTestCase(unittest.TestCase):
...
@@ -16,7 +16,7 @@ class GroupDatabaseTestCase(unittest.TestCase):
self
.
assertEqual
(
value
[
1
],
value
.
gr_passwd
)
self
.
assertEqual
(
value
[
1
],
value
.
gr_passwd
)
self
.
assertIsInstance
(
value
.
gr_passwd
,
basestring
)
self
.
assertIsInstance
(
value
.
gr_passwd
,
basestring
)
self
.
assertEqual
(
value
[
2
],
value
.
gr_gid
)
self
.
assertEqual
(
value
[
2
],
value
.
gr_gid
)
self
.
assertIsInstance
(
value
.
gr_gid
,
int
)
self
.
assertIsInstance
(
value
.
gr_gid
,
(
long
,
int
)
)
self
.
assertEqual
(
value
[
3
],
value
.
gr_mem
)
self
.
assertEqual
(
value
[
3
],
value
.
gr_mem
)
self
.
assertIsInstance
(
value
.
gr_mem
,
list
)
self
.
assertIsInstance
(
value
.
gr_mem
,
list
)
...
...
Lib/test/test_pwd.py
View file @
4a03c7d4
...
@@ -18,9 +18,9 @@ class PwdTest(unittest.TestCase):
...
@@ -18,9 +18,9 @@ class PwdTest(unittest.TestCase):
self
.
assertEqual
(
e
[
1
],
e
.
pw_passwd
)
self
.
assertEqual
(
e
[
1
],
e
.
pw_passwd
)
self
.
assertIsInstance
(
e
.
pw_passwd
,
basestring
)
self
.
assertIsInstance
(
e
.
pw_passwd
,
basestring
)
self
.
assertEqual
(
e
[
2
],
e
.
pw_uid
)
self
.
assertEqual
(
e
[
2
],
e
.
pw_uid
)
self
.
assertIsInstance
(
e
.
pw_uid
,
int
)
self
.
assertIsInstance
(
e
.
pw_uid
,
(
int
,
long
)
)
self
.
assertEqual
(
e
[
3
],
e
.
pw_gid
)
self
.
assertEqual
(
e
[
3
],
e
.
pw_gid
)
self
.
assertIsInstance
(
e
.
pw_gid
,
int
)
self
.
assertIsInstance
(
e
.
pw_gid
,
(
int
,
long
)
)
self
.
assertEqual
(
e
[
4
],
e
.
pw_gecos
)
self
.
assertEqual
(
e
[
4
],
e
.
pw_gecos
)
self
.
assertIsInstance
(
e
.
pw_gecos
,
basestring
)
self
.
assertIsInstance
(
e
.
pw_gecos
,
basestring
)
self
.
assertEqual
(
e
[
5
],
e
.
pw_dir
)
self
.
assertEqual
(
e
[
5
],
e
.
pw_dir
)
...
...
Misc/NEWS
View file @
4a03c7d4
...
@@ -21,7 +21,8 @@ What's New in Python 2.7.4?
...
@@ -21,7 +21,8 @@ What's New in Python 2.7.4?
Library
Library
-------
-------
-
Issue
#
17531
:
Return
group
and
user
ids
as
int
instead
long
when
possible
.
-
Issue
#
17531
:
Fix
tests
that
thought
group
and
user
ids
were
always
the
int
type
.
What
's New in Python 2.7.4 release candidate 1
What
's New in Python 2.7.4 release candidate 1
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment