diff options
author | Victor Stinner <victor.stinner@haypocalc.com> | 2010-05-17 00:18:34 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@haypocalc.com> | 2010-05-17 00:18:34 (GMT) |
commit | f155f1f4cef42e26809e3512634e4ed083b7965c (patch) | |
tree | 2552a2db2b68214859cc446a98d1bba077f68756 /Lib/test/test_os.py | |
parent | c2d095f4942408bbd85d934479ff049689b682cf (diff) | |
download | cpython-f155f1f4cef42e26809e3512634e4ed083b7965c.zip cpython-f155f1f4cef42e26809e3512634e4ed083b7965c.tar.gz cpython-f155f1f4cef42e26809e3512634e4ed083b7965c.tar.bz2 |
Oops, my patch on subprocess is not merged yet: fix my previous commit on test_os
Diffstat (limited to 'Lib/test/test_os.py')
-rw-r--r-- | Lib/test/test_os.py | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/Lib/test/test_os.py b/Lib/test/test_os.py index 49f9cbd..37abe22 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): |