summaryrefslogtreecommitdiff
path: root/scipy_distutils/exec_command.py
diff options
context:
space:
mode:
authorPearu Peterson <pearu.peterson@gmail.com>2004-02-01 11:36:10 +0000
committerPearu Peterson <pearu.peterson@gmail.com>2004-02-01 11:36:10 +0000
commite9019344e79916bb6ecb025d6eaad6c691dba258 (patch)
tree8e72eed8844e403ffc30a239bf71a40a58d5f6e4 /scipy_distutils/exec_command.py
parent78db940dbea4a03d04233fb730c0531cab024c43 (diff)
downloadnumpy-e9019344e79916bb6ecb025d6eaad6c691dba258.tar.gz
Issue with echo tests under cygwin with nt/win32 python is resolved.
Diffstat (limited to 'scipy_distutils/exec_command.py')
-rw-r--r--scipy_distutils/exec_command.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/scipy_distutils/exec_command.py b/scipy_distutils/exec_command.py
index 868563e20..2427e9d67 100644
--- a/scipy_distutils/exec_command.py
+++ b/scipy_distutils/exec_command.py
@@ -35,7 +35,7 @@
# nt | win32 | Windows 98, Python 2.1.1. Idle 0.8
# nt | win32 | Cygwin 98-4.10, Python 2.1.1(MSC) - echo tests
# fail i.e. redefining environment variables may
-# not work.
+# not work. FIXED: don't use cygwin echo!
# posix | cygwin | Cygwin 98-4.10, Python 2.3.3(cygming special)
__all__ = ['exec_command','find_executable']
@@ -435,7 +435,7 @@ def _exec_command( command, use_shell=None, **env ):
def test_nt():
pythonexe = get_pythonexe()
- if not (sys.platform=='win32' and os.environ.get('OSTYPE','')=='cygwin'):
+ if 1: ## not (sys.platform=='win32' and os.environ.get('OSTYPE','')=='cygwin'):
s,o=exec_command('echo Hello')
assert s==0 and o=='Hello',(s,o)