◐ Shell
clean mode source ↗

Message 105365 - Python tracker

> Build on the os._execvpe unittest I added in py3k r81001.

The test fails on Windows.

======================================================================
FAIL: test_internal_execvpe (test.test_os.ExecTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "D:\cygwin\home\db3l\buildarea\3.x.bolen-windows\build\lib\test\test_os.py", line 683, in test_internal_execvpe
    exec_stubbed.calls)
AssertionError: Lists differ: [('execve', '/p/f', (['-a'], {... != [('execve', '/p\\f', (['-a'], ...

First differing element 0:
('execve', '/p/f', (['-a'], {'spam': 'beans'}))
('execve', '/p\\f', (['-a'], {'spam': 'beans'}))

- [('execve', '/p/f', (['-a'], {'spam': 'beans'})),
?                ^

+ [('execve', '/p\\f', (['-a'], {'spam': 'beans'})),
?                ^^

-  ('execve', '/pp/f', (['-a'], {'spam': 'beans'}))]
?                 ^

+  ('execve', '/pp\\f', (['-a'], {'spam': 'beans'}))]
?                 ^^