summaryrefslogtreecommitdiff
path: root/Python/strdup.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
commitc2d095f4942408bbd85d934479ff049689b682cf (patch)
tree58f0740f2d50b6eebc3e15294880006fbbfd0c5a /Python/strdup.c
parent304740635b6066d11850a36c46991fcea4cdb800 (diff)
downloadcpython-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