[Python-checkins] r81249 - python/branches/py3k/Lib/test/test_os.py
victor.stinner
python-checkins at python.org
Mon May 17 02:18:34 CEST 2010
Author: victor.stinner
Date: Mon May 17 02:18:34 2010
New Revision: 81249
Log:
Oops, my patch on subprocess is not merged yet: fix my previous commit on test_os
Modified:
python/branches/py3k/Lib/test/test_os.py
Modified: python/branches/py3k/Lib/test/test_os.py
==============================================================================
--- python/branches/py3k/Lib/test/test_os.py (original)
+++ python/branches/py3k/Lib/test/test_os.py Mon May 17 02:18:34 2010
@@ -684,10 +684,7 @@
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):
More information about the Python-checkins
mailing list