The tests in test_process fail under Windows

Bug #266923 reported by Brian Granger on 2008-09-05
Affects Status Importance Assigned to Milestone
Gael Varoquaux

Bug Description

All the tests in 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
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  Edit
Everyone can see this information.

Other bug subscribers