Skip to content

Commit

Permalink
Merge pull request #1440 from jstenar/win32-testing
Browse files Browse the repository at this point in the history
Fix for failing testsuite when using --with-xml-coverage on windows.

This is necessary to get the shiningpanda testing on windows to work. Without the fix all tests fail.
  • Loading branch information
minrk committed Mar 8, 2012
2 parents dbf3bdc + eea65ec commit 6ab07eb
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions IPython/utils/process.py
Expand Up @@ -95,14 +95,8 @@ def pycmd2argv(cmd):
if ext in ['.exe', '.com', '.bat']:
return [cmd]
else:
if sys.platform == 'win32':
# The -u option here turns on unbuffered output, which is required
# on Win32 to prevent wierd conflict and problems with Twisted.
# Also, use sys.executable to make sure we are picking up the
# right python exe.
return [sys.executable, '-u', cmd]
else:
return [sys.executable, cmd]
return [sys.executable, cmd]


def abbrev_cwd():
""" Return abbreviated version of cwd, e.g. d:mydir """
Expand Down

0 comments on commit 6ab07eb

Please sign in to comment.