summaryrefslogtreecommitdiff
path: root/Python/Python-ast.c
diff options
context:
space:
mode:
authorGregory P. Smith <greg@krypto.org>2011-05-28 09:06:02 -0700
committerGregory P. Smith <greg@krypto.org>2011-05-28 09:06:02 -0700
commit7439e7b7cec2727f5f891dc5ea38acf8b239fb8e (patch)
treec3c672104bcc016c5ff6c65323bb5f94faa13414 /Python/Python-ast.c
parent6e5fd04ce21b421ff975c93611ff6c81547ce183 (diff)
downloadcpython-git-7439e7b7cec2727f5f891dc5ea38acf8b239fb8e.tar.gz
Fix ProcessTestCasePOSIXPurePython to test the module from import when
_posixsubprocess doesn't exist rather than simply stubbing it out after the fact. This adds coverage for the RuntimeWarning as well as using the pure python _create_pipe instead of using _posixsubprocess.cloexec_pipe unintentionally with the pure python code. Ironically: I don't think any platform should ever actually _use_ the pure Python subprocess code on POSIX platforms anymore. This at least tests it properly in this stable branch. The pure python code for this is likely to be removed in 3.3.
Diffstat (limited to 'Python/Python-ast.c')
0 files changed, 0 insertions, 0 deletions