summaryrefslogtreecommitdiff
path: root/Python/pythonrun.c
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@haypocalc.com>2010-05-17 00:14:53 +0000
committerVictor Stinner <victor.stinner@haypocalc.com>2010-05-17 00:14:53 +0000
commit891efe2349349cfe512567c3b01bf46615bb4d55 (patch)
tree5dd6901db5d2e79d99d1215ce2329e5830567d25 /Python/pythonrun.c
parent8cf7977e825fb762626aa849c9b4f8efb5eecdd3 (diff)
downloadcpython-891efe2349349cfe512567c3b01bf46615bb4d55.tar.gz
test_os: cleanup test_internal_execvpe() and os._execvpe() mockup
* Replace os.defpath instead of os.get_exec_path() to test also os.get_exec_path() * Use contextlib.contextmanager, move the mockup outside the class, and the mockup returns directly the call list object * Use two different contexts for the two tests * Use more revelant values and names
Diffstat (limited to 'Python/pythonrun.c')
0 files changed, 0 insertions, 0 deletions