The tests in test_process fail under Windows

Bug #266923 reported by Brian Granger
2
Affects Status Importance Assigned to Milestone
IPython
Confirmed
Medium
Gael Varoquaux

Bug Description

All the tests in test_process.py fail in some way or another on Windows.

test_capture_out and test_kill: fail on Vista when iptest is run using the shortcut in the Start Menu. The error is realted to Windows permissions. But, they pass when iptest is run from the command line.

test_io: fails always on Windows. Something related to how the string are quoted.

Changed in ipython:
assignee: nobody → gael-varoquaux
importance: Undecided → Medium
Revision history for this message
Brian Granger (ellisonbg) wrote :

I saw this same bug when I was debugging ipcluster on Win32. The underlying problem is the following. When the executable being called is python itself, you need to call Python in unbuffered mode by passing the -u command line option:

python -u ...

This should fix the problem.

Changed in ipython:
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.