commit | c2d095f4942408bbd85d934479ff049689b682cf | [log] [tgz] |
---|---|---|
author | Victor Stinner <victor.stinner@haypocalc.com> | Mon May 17 00:14:53 2010 +0000 |
committer | Victor Stinner <victor.stinner@haypocalc.com> | Mon May 17 00:14:53 2010 +0000 |
tree | 58f0740f2d50b6eebc3e15294880006fbbfd0c5a | |
parent | 304740635b6066d11850a36c46991fcea4cdb800 [diff] |
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