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 | c2d095f4942408bbd85d934479ff049689b682cf (patch) | |
tree | 58f0740f2d50b6eebc3e15294880006fbbfd0c5a /Python/strdup.c | |
parent | 304740635b6066d11850a36c46991fcea4cdb800 (diff) | |
download | cpython-git-c2d095f4942408bbd85d934479ff049689b682cf.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/strdup.c')
0 files changed, 0 insertions, 0 deletions