commit | 67635145038f747bb70aa2fd2321a6fd6eecbb1a | [log] [tgz] |
---|---|---|
author | Victor Stinner <victor.stinner@haypocalc.com> | Mon May 17 00:15:47 2010 +0000 |
committer | Victor Stinner <victor.stinner@haypocalc.com> | Mon May 17 00:15:47 2010 +0000 |
tree | f22360c1f6a2bb75f1a7530e98556599bcdcd90a | |
parent | 321257da1aa3bbc16be9f6a9a9205878e99aa545 [diff] |
Blocked revisions 81247 via svnmerge ........ r81247 | victor.stinner | 2010-05-17 02:14:53 +0200 (lun., 17 mai 2010) | 9 lines 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 ........