From 67635145038f747bb70aa2fd2321a6fd6eecbb1a Mon Sep 17 00:00:00 2001 From: Victor Stinner Date: Mon, 17 May 2010 00:15:47 +0000 Subject: [PATCH] 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 ........ -- 2.47.3