mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
Merged revisions 78832 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk ........ r78832 | florent.xicluna | 2010-03-11 02:39:55 +0100 (jeu, 11 mar 2010) | 2 lines It is not optimal to test sys.stderr on a debug build. ........
This commit is contained in:
parent
b14930cd93
commit
01fe610773
1 changed files with 2 additions and 3 deletions
|
@ -243,9 +243,8 @@ class TestSysConfig(unittest.TestCase):
|
|||
symlink = get_attribute(os, "symlink")
|
||||
def get(python):
|
||||
cmd = [python, '-c',
|
||||
'import sysconfig; print sysconfig.get_platform()']
|
||||
p = subprocess.Popen(cmd, stdout=subprocess.PIPE,
|
||||
stderr=subprocess.PIPE)
|
||||
'import sysconfig; print(sysconfig.get_platform())']
|
||||
p = subprocess.Popen(cmd, stdout=subprocess.PIPE)
|
||||
return p.communicate()
|
||||
real = os.path.realpath(sys.executable)
|
||||
link = os.path.abspath(TESTFN)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue