The tests in test_process fail under Windows
Bug #266923 reported by
Brian Granger
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 |
To post a comment you must log in.
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.