diff options
author | Victor Stinner <victor.stinner@haypocalc.com> | 2010-05-17 00:14:53 +0000 |
---|---|---|
committer | Victor Stinner <victor.stinner@haypocalc.com> | 2010-05-17 00:14:53 +0000 |
commit | 891efe2349349cfe512567c3b01bf46615bb4d55 (patch) | |
tree | 5dd6901db5d2e79d99d1215ce2329e5830567d25 /Python/pythonrun.c | |
parent | 8cf7977e825fb762626aa849c9b4f8efb5eecdd3 (diff) | |
download | cpython-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