From f155f1f4cef42e26809e3512634e4ed083b7965c Mon Sep 17 00:00:00 2001 From: Victor Stinner Date: Mon, 17 May 2010 00:18:34 +0000 Subject: [PATCH] Oops, my patch on subprocess is not merged yet: fix my previous commit on test_os --- Lib/test/test_os.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/Lib/test/test_os.py b/Lib/test/test_os.py index 49f9cbd10d2..37abe2294f9 100644 --- a/Lib/test/test_os.py +++ b/Lib/test/test_os.py @@ -684,10 +684,7 @@ class ExecTests(unittest.TestCase): with _execvpe_mockup(defpath=program_path) as calls: self.assertRaises(OSError, os._execvpe, program, arguments, env=env) self.assertEqual(len(calls), 1) - if os.name != "nt": - self.assertEqual(calls[0], ('execve', os.fsencode(fullpath), (arguments, env))) - else: - self.assertEqual(calls[0], ('execve', fullpath, (arguments, env))) + self.assertEqual(calls[0], ('execve', fullpath, (arguments, env))) class Win32ErrorTests(unittest.TestCase):