summaryrefslogtreecommitdiff
path: root/numpy/distutils/tests
diff options
context:
space:
mode:
authorOndrej Certik <ondrej.certik@gmail.com>2013-03-09 12:22:08 +0100
committerOndrej Certik <ondrej.certik@gmail.com>2013-03-09 12:30:43 +0100
commit92770f4c6d6b74ee8788e621b67e757c1a21138e (patch)
tree607dc793e2f4031fc9dbf658948b8b5a60237705 /numpy/distutils/tests
parent2fbdd9903fc9bf6e1fe797e92c0157abd67850ce (diff)
downloadnumpy-92770f4c6d6b74ee8788e621b67e757c1a21138e.tar.gz
Implement separate checking for stdout and stderr
And enable a test for this that was failing before.
Diffstat (limited to 'numpy/distutils/tests')
-rw-r--r--numpy/distutils/tests/test_exec_command.py7
1 files changed, 3 insertions, 4 deletions
diff --git a/numpy/distutils/tests/test_exec_command.py b/numpy/distutils/tests/test_exec_command.py
index d9983125d..69943f140 100644
--- a/numpy/distutils/tests/test_exec_command.py
+++ b/numpy/distutils/tests/test_exec_command.py
@@ -66,7 +66,6 @@ def test_exec_command_stderr():
exec_command.exec_command("cd '.'")
# Test non-posix version:
- # Note: this test reveals a failure
- #with emulate_nonposix():
- # with redirect_stderr(StringIO.StringIO()):
- # exec_command.exec_command("cd '.'")
+ with emulate_nonposix():
+ with redirect_stderr(StringIO.StringIO()):
+ exec_command.exec_command("cd '.'")