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
79ec9f0e
Commit
79ec9f0e
authored
May 09, 2013
by
Ezio Melotti
Browse files
Options
Browse Files
Download
Plain Diff
#17809: merge with 3.3.
parents
b3c5d856
ce82d57c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletion
+3
-1
Lib/test/test_posixpath.py
Lib/test/test_posixpath.py
+2
-1
Misc/ACKS
Misc/ACKS
+1
-0
No files found.
Lib/test/test_posixpath.py
View file @
79ec9f0e
...
...
@@ -261,7 +261,8 @@ class PosixPathTest(unittest.TestCase):
# expanduser should fall back to using the password database
del
env
[
'HOME'
]
home
=
pwd
.
getpwuid
(
os
.
getuid
()).
pw_dir
self
.
assertEqual
(
posixpath
.
expanduser
(
"~"
),
home
)
# $HOME can end with a trailing /, so strip it (see #17809)
self
.
assertEqual
(
posixpath
.
expanduser
(
"~"
),
home
.
rstrip
(
"/"
))
def
test_normpath
(
self
):
self
.
assertEqual
(
posixpath
.
normpath
(
""
),
"."
)
...
...
Misc/ACKS
View file @
79ec9f0e
...
...
@@ -660,6 +660,7 @@ Kim Knapp
Lenny Kneler
Pat Knight
Jeff Knupp
Kubilay Kocak
Greg Kochanski
Damon Kohler
Marko Kohtala
...
...
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