From: Martin v. Löwis Date: Sat, 18 Oct 2003 18:09:18 +0000 (+0000) Subject: Revert previous checkin, as it breaks on Unix. X-Git-Tag: v2.3.3c1~129 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=eff6cb507650e70588cc5d1a96c57bfb6cc54a1f;p=thirdparty%2FPython%2Fcpython.git Revert previous checkin, as it breaks on Unix. --- diff --git a/Lib/test/test_tempfile.py b/Lib/test/test_tempfile.py index 100bafaaa120..8df3856039e7 100644 --- a/Lib/test/test_tempfile.py +++ b/Lib/test/test_tempfile.py @@ -292,12 +292,8 @@ class test__mkstemp_inner(TC): tester = os.path.join(os.path.dirname(os.path.abspath(me)), "tf_inherit_check.py") - # On Windows a spawn* /path/ with embedded spaces shouldn't be quoted, - # but an arg with embedded spaces should be decorated with double - # quotes on each end - decorated = '"%s"' % sys.executable - tester = '"%s"' % tester - retval = os.spawnl(os.P_WAIT, sys.executable, decorated, tester, v, fd) + retval = os.spawnl(os.P_WAIT, sys.executable, + sys.executable, tester, v, fd) self.failIf(retval < 0, "child process caught fatal signal %d" % -retval) self.failIf(retval > 0, "child process reports failure")