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
53f8b7d1
Commit
53f8b7d1
authored
Oct 23, 2013
by
Antoine Pitrou
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Issue #19340: Fix test_sysconfig when Python is built with an empty prefix.
Patch by Sunny K.
parent
529c6906
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
2 deletions
+5
-2
Lib/test/test_sysconfig.py
Lib/test/test_sysconfig.py
+4
-2
Misc/ACKS
Misc/ACKS
+1
-0
No files found.
Lib/test/test_sysconfig.py
View file @
53f8b7d1
...
...
@@ -354,8 +354,10 @@ class TestSysConfig(unittest.TestCase):
self
.
assertTrue
(
os
.
path
.
exists
(
Python_h
),
Python_h
)
self
.
assertTrue
(
sysconfig
.
_is_python_source_dir
(
srcdir
))
elif
os
.
name
==
'posix'
:
self
.
assertEqual
(
os
.
path
.
dirname
(
sysconfig
.
get_makefile_filename
()),
srcdir
)
makefile_dir
=
os
.
path
.
dirname
(
sysconfig
.
get_makefile_filename
())
# Issue #19340: srcdir has been realpath'ed already
makefile_dir
=
os
.
path
.
realpath
(
makefile_dir
)
self
.
assertEqual
(
makefile_dir
,
srcdir
)
def
test_srcdir_independent_of_cwd
(
self
):
# srcdir should be independent of the current working directory
...
...
Misc/ACKS
View file @
53f8b7d1
...
...
@@ -613,6 +613,7 @@ Sijin Joseph
Andreas Jung
Tattoo Mabonzo K.
Sarah K.
Sunny K
Bohuslav Kabrda
Bob Kahn
Kurt B. Kaiser
...
...
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